From 17f053d5a77017fb96de02b3d0ff25eb1dd1751d Mon Sep 17 00:00:00 2001 From: Igor Belitskiy Date: Thu, 20 Apr 2023 17:54:06 +0600 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B4=D0=B8=D0=B7=D0=B0=D0=B9=D0=BD,=20=D0=B8?= =?UTF-8?q?=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20=D0=B1=D0=B0?= =?UTF-8?q?=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/ubl-settings-bootloader.cc | 4 ++-- ubl-settings-bootloader.glade | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/ubl-settings-bootloader.cc b/source/ubl-settings-bootloader.cc index 9390c9f..d1d4614 100755 --- a/source/ubl-settings-bootloader.cc +++ b/source/ubl-settings-bootloader.cc @@ -698,10 +698,10 @@ void MainWindow::wrapper_save_all_cfg() { this->set_data_cfg(); bool _flag_save_global1 = true; bool _flag_save_local1 = true; - if (flag_save_global == true) { + if (flag_save_global == false) { _flag_save_global1 = this->save_template(global_save, global_remove , "global"); } - if (flag_save_local == true) { + if (flag_save_local == false) { _flag_save_local1 = this->save_template(system_save, system_remove , "system"); } if (_flag_save_global1 && _flag_save_local1) { diff --git a/ubl-settings-bootloader.glade b/ubl-settings-bootloader.glade index 942e4aa..3082b74 100644 --- a/ubl-settings-bootloader.glade +++ b/ubl-settings-bootloader.glade @@ -619,6 +619,8 @@ specified priority 140 True True + 5 + 5 in @@ -629,8 +631,6 @@ specified priority -1 True True - 5 - 5 @@ -738,6 +738,8 @@ specified priority 140 True True + 5 + 5 in @@ -747,8 +749,6 @@ specified priority True True - 5 - 5 @@ -856,6 +856,8 @@ specified priority 140 True True + 5 + 5 in @@ -865,8 +867,6 @@ specified priority True True - 5 - 5