: QDialog(parent),
_currentPage(0)
{
- setModal(false);
+ setModal(true);
+ setAttribute(Qt::WA_DeleteOnClose, true);
ui.setupUi(this);
updateGeometry();
connect(ui.settingsTree, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelected()));
connect(ui.buttonBox, SIGNAL(clicked(QAbstractButton *)), this, SLOT(buttonClicked(QAbstractButton *)));
+
+ setButtonStates();
}
void SettingsDlg::registerSettingsPage(SettingsPage *sp) {