mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 00:36:14 +00:00
fix file transfer hanging if disabled, and add trans
This commit is contained in:
1 parent
9136b3e3f8
commit
0dd4087408
11 files changed
+41
-13
No files matched your search
@@ -444,12 +444,14 @@ function self.closing() {
|
||||
}
|
||||
|
||||
handler.setPermission = function(name, enabled) {
|
||||
self.timer(60ms, function() {
|
||||
if (name == "keyboard") keyboard_enabled = enabled;
|
||||
if (name == "audio") audio_enabled = enabled;
|
||||
if (name == "file") file_enabled = enabled;
|
||||
if (name == "clipboard") clipboard_enabled = enabled;
|
||||
input_blocked = false;
|
||||
header.update();
|
||||
});
|
||||
}
|
||||
|
||||
handler.closeSuccess = function() {
|
||||
|
||||
Reference in new issue
Block a user