mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 01:18:21 +00:00
This commit is contained in:
parent
6ae988ba88
commit
de4389977b
1 changed files with 6 additions and 1 deletions
|
|
@ -436,7 +436,12 @@ impl Interface for Session {
|
|||
let mut displays = Vec::new();
|
||||
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() {
|
||||
self.msgbox("error", "Remote Error", "No Display");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue