Only one instance of the settings dialog should be open at once
This commit is contained in:
@@ -181,9 +181,7 @@ void Notebook::resizeEvent(QResizeEvent *)
|
||||
|
||||
void Notebook::settingsButtonClicked()
|
||||
{
|
||||
SettingsDialog *a = new SettingsDialog();
|
||||
|
||||
a->show();
|
||||
SettingsDialog::showDialog();
|
||||
}
|
||||
|
||||
void Notebook::usersButtonClicked()
|
||||
|
||||
Reference in New Issue
Block a user