This commit is contained in:
parent
6ae988ba88
commit
de4389977b
@ -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…
x
Reference in New Issue
Block a user