mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-01 01:21:06 +03:00
rdp and tcpTunnel use same tabPage
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -52,7 +52,6 @@ enum DesktopType {
|
||||
fileTransfer,
|
||||
cm,
|
||||
portForward,
|
||||
rdp,
|
||||
}
|
||||
|
||||
class IconFont {
|
||||
@@ -572,9 +571,7 @@ void msgBox(
|
||||
submit() {
|
||||
dialogManager.dismissAll();
|
||||
// https://github.com/fufesou/rustdesk/blob/5e9a31340b899822090a3731769ae79c6bf5f3e5/src/ui/common.tis#L263
|
||||
if (!type.contains("custom") &&
|
||||
!(desktopType == DesktopType.portForward ||
|
||||
desktopType == DesktopType.rdp)) {
|
||||
if (!type.contains("custom") && desktopType != DesktopType.portForward) {
|
||||
closeConnection();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user