X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingsdlg.cpp;h=b02e7117a3be2ff48ddae593b7b646858cac374d;hp=035993b9e6723ac1181ddc2d4927bfb79149834f;hb=0c9cd0eef379e1d3e10a75cc8506a7e65f95fd67;hpb=43159be08b173c4c1c973eb3ea26cdaae191fc2f diff --git a/src/qtui/settingsdlg.cpp b/src/qtui/settingsdlg.cpp index 035993b9..b02e7117 100644 --- a/src/qtui/settingsdlg.cpp +++ b/src/qtui/settingsdlg.cpp @@ -113,7 +113,6 @@ void SettingsDlg::itemSelected() { void SettingsDlg::setButtonStates() { SettingsPage *sp = currentPage(); - ui.buttonBox->button(QDialogButtonBox::Ok)->setEnabled(sp && sp->hasChanged()); ui.buttonBox->button(QDialogButtonBox::Apply)->setEnabled(sp && sp->hasChanged()); ui.buttonBox->button(QDialogButtonBox::Reset)->setEnabled(sp && sp->hasChanged()); ui.buttonBox->button(QDialogButtonBox::RestoreDefaults)->setEnabled(sp && sp->hasDefaults());