mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-29 16:49:10 +08:00
Merge pull request #786 from Heap-Hop/master
Update mobile file transfer tip
This commit is contained in:
commit
2a5b539380
@ -436,7 +436,12 @@ impl Interface for Session {
|
|||||||
let mut displays = Vec::new();
|
let mut displays = Vec::new();
|
||||||
let mut current = pi.current_display as usize;
|
let mut current = pi.current_display as usize;
|
||||||
|
|
||||||
if !lc.is_file_transfer {
|
if lc.is_file_transfer {
|
||||||
|
if pi.username.is_empty() {
|
||||||
|
self.msgbox("error", "Error", "No active console user logged on, please connect and logon first.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
if pi.displays.is_empty() {
|
if pi.displays.is_empty() {
|
||||||
self.msgbox("error", "Remote Error", "No Display");
|
self.msgbox("error", "Remote Error", "No Display");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user