win, clipboard, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
0094d306a8
commit
7740492fb0
5 changed files with 24 additions and 46 deletions
|
|
@ -882,11 +882,7 @@ async fn check_connect_status_(reconnect: bool, rx: mpsc::UnboundedReceiver<ipc:
|
|||
{
|
||||
let b = OPTIONS.lock().unwrap().get("enable-file-transfer").map(|x| x.to_string()).unwrap_or_default();
|
||||
if b != enable_file_transfer {
|
||||
clipboard::ContextSend::enable(
|
||||
b.is_empty(),
|
||||
true,
|
||||
crate::is_server(),
|
||||
);
|
||||
clipboard::ContextSend::enable(b.is_empty());
|
||||
enable_file_transfer = b;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue