X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspagedlg.cpp;h=df37ba0153ad774ff11d46c0180490df5140993b;hb=3f43fe0ece466c4156ba3706060b6b9eb5fe3a3c;hp=7d36cf5f2f629c26bf3f869b6fa95e41541a8359;hpb=4044bd5ea91ea4c8b00711bbb6b837aeba630b74;p=quassel.git diff --git a/src/qtui/settingspagedlg.cpp b/src/qtui/settingspagedlg.cpp index 7d36cf5f..df37ba01 100644 --- a/src/qtui/settingspagedlg.cpp +++ b/src/qtui/settingspagedlg.cpp @@ -44,7 +44,6 @@ SettingsPage *SettingsPageDlg::currentPage() const { void SettingsPageDlg::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());