Standardizing dialog button boxes across material editor and component

Making dialogs modal

https://jira.agscollab.com/browse/ATOM-15173

https://jira.agscollab.com/browse/ATOM-15174
This commit is contained in:
guthadam
2021-04-15 12:38:07 -05:00
parent 14f7883425
commit 2baa0db2de
5 changed files with 42 additions and 50 deletions
@@ -37,6 +37,8 @@ namespace MaterialEditor
//Connect ok and cancel buttons
QObject::connect(m_ui->m_buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
QObject::connect(m_ui->m_buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
setModal(true);
}
void CreateMaterialDialog::InitMaterialTypeSelection()
@@ -35,6 +35,7 @@ namespace MaterialEditor
SetupPresetList();
SetupSearchWidget();
SetupDialogButtons();
setModal(true);
}
void PresetBrowserDialog::SetupPresetList()