Skip to content

Commit

Permalink
Advanced Settings defaults off
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbui78 committed Jun 23, 2023
1 parent de2f64f commit 13a3405
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/DzBridgeDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,15 +329,20 @@ bool DzBridgeDialog::loadSavedSettings()
{
showFbxDialogCheckBox->setChecked(settings->value("ShowFBXDialog").toBool());
}
if (!m_bSetupMode && !settings->value("ShowAdvancedSettings").isNull())
if (m_bSetupMode)
{
advancedSettingsGroupBox->setChecked(settings->value("ShowAdvancedSettings").toBool());
advancedWidget->setHidden(!advancedSettingsGroupBox->isChecked());
advancedSettingsGroupBox->setChecked(true);
advancedWidget->setHidden(false);
}
//else if (!settings->value("ShowAdvancedSettings").isNull())
//{
// advancedSettingsGroupBox->setChecked(settings->value("ShowAdvancedSettings").toBool());
// advancedWidget->setHidden(!advancedSettingsGroupBox->isChecked());
//}
else
{
advancedSettingsGroupBox->setChecked(true);
advancedWidget->setHidden(false);
advancedSettingsGroupBox->setChecked(false);
advancedWidget->setHidden(true);
}
if (!settings->value("FBXExportVersion").isNull())
{
Expand Down

0 comments on commit 13a3405

Please sign in to comment.