fix: correctly set states for buttons in cpu dialog
This commit is contained in:
parent
6c413fe8f9
commit
a50c6af5de
|
@ -1694,6 +1694,7 @@ void MainWindow::showCPUInfoDialog()
|
|||
if (mCPUDialog==nullptr) {
|
||||
mCPUDialog = new CPUDialog(this);
|
||||
connect(mCPUDialog, &CPUDialog::closed, this, &MainWindow::cleanUpCPUDialog);
|
||||
updateCompileActions();
|
||||
}
|
||||
mCPUDialog->show();
|
||||
}
|
||||
|
|
|
@ -53,7 +53,6 @@ CPUDialog::CPUDialog(QWidget *parent) :
|
|||
updateIcons();
|
||||
connect(pIconsManager,&IconsManager::actionIconsUpdated,
|
||||
this, &CPUDialog::updateIcons);
|
||||
updateButtonStates(false);
|
||||
}
|
||||
|
||||
CPUDialog::~CPUDialog()
|
||||
|
|
Loading…
Reference in New Issue