fix: settings "Cancel" button doesn't work first time (#5229)

This commit is contained in:
pajlada
2024-03-09 12:29:25 +01:00
committed by GitHub
parent c50791972d
commit 2e77b47ea1
5 changed files with 9 additions and 16 deletions
@@ -87,11 +87,6 @@ void SettingsPage::setTab(SettingsDialogTab *tab)
this->tab_ = tab;
}
void SettingsPage::cancel()
{
this->onCancel_.invoke();
}
QCheckBox *SettingsPage::createCheckBox(
const QString &text, pajlada::Settings::Setting<bool> &setting)
{