Move restart to tab right menu, and remove some items

This commit is contained in:
rustdesk
2023-08-06 16:42:13 +08:00
parent 5124cc49b3
commit 26ba25d2ae
3 changed files with 56 additions and 62 deletions

View File

@@ -254,7 +254,7 @@ class ConnectionManagerState extends State<ConnectionManager> {
} else {
final opt = "enable-confirm-closing-tabs";
final bool res;
if (!option2bool(opt, await bind.mainGetLocalOption(key: opt))) {
if (!option2bool(opt, bind.mainGetLocalOption(key: opt))) {
res = true;
} else {
res = await closeConfirmDialog();