mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-14 07:01:27 +03:00
move closing-tabs to local config, and add glgetstring to stack check
This commit is contained in:
@@ -360,7 +360,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
|
||||
} 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();
|
||||
|
||||
Reference in New Issue
Block a user