OSDN Git Service

[UI][Qt] BUG: Fix crash with BOOT_MODEs >= 8.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 26 Jan 2018 13:01:02 +0000 (22:01 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 26 Jan 2018 13:01:02 +0000 (22:01 +0900)
source/src/qt/gui/menu_control.cpp

index f2a722a..892898f 100644 (file)
@@ -120,7 +120,7 @@ void Ui_MainWindowBase::ConfigCPUBootMode(int num)
        int i;
        QString tmps;
        if(num <= 0) return;
-       if(num >= 8) num = 7;
+       if(num >= 8) num = 8;
   
        actionGroup_BootMode = new QActionGroup(this);
        actionGroup_BootMode->setExclusive(true);