refactor msgbox

This commit is contained in:
rustdesk
2021-12-29 11:42:43 +08:00
parent 8be7331cb6
commit 365fc90d8b
7 changed files with 29 additions and 33 deletions

View File

@@ -80,6 +80,9 @@ impl sciter::EventHandler for Handler {
fn attached(&mut self, root: HELEMENT) {
self.write().unwrap().element = Some(Element::from(root));
if self.is_port_forward() {
return;
}
}
fn detached(&mut self, _root: HELEMENT) {
@@ -855,7 +858,6 @@ impl Handler {
command: bool,
extended: bool,
) {
if self.peer_platform() == "Windows" {
if ctrl && alt && name == "VK_DELETE" {
self.ctrl_alt_del();