move closing-tabs to local config, and add glgetstring to stack check

This commit is contained in:
rustdesk
2023-07-30 12:16:00 +08:00
parent 69f1969e60
commit dd4f52b63d
8 changed files with 35 additions and 20 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.mainGetOption(key: opt))) {
if (!option2bool(opt, await bind.mainGetLocalOption(key: opt))) {
res = true;
} else {
res = await closeConfirmDialog();