Skip to content

Commit

Permalink
Disable SetupMode in Vod's version and allow Advanced Settings to ret…
Browse files Browse the repository at this point in the history
…ain the check value again.
  • Loading branch information
David-Vodhanel committed Aug 13, 2023
1 parent 7854953 commit 5b81672
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/DzBridgeDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ DzBridgeDialog::DzBridgeDialog(QWidget *parent, const QString &windowTitle) :
m_bSetupMode = true;
}

#ifdef VODSVERSION
m_bSetupMode = false;
#endif

assetNameEdit = nullptr;
// projectEdit = nullptr;
// projectButton = nullptr;
Expand Down Expand Up @@ -338,11 +342,11 @@ bool DzBridgeDialog::loadSavedSettings()
advancedSettingsGroupBox->setChecked(true);
advancedWidget->setHidden(false);
}
//else if (!settings->value("ShowAdvancedSettings").isNull())
//{
// advancedSettingsGroupBox->setChecked(settings->value("ShowAdvancedSettings").toBool());
// advancedWidget->setHidden(!advancedSettingsGroupBox->isChecked());
//}
else if (!settings->value("ShowAdvancedSettings").isNull())
{
advancedSettingsGroupBox->setChecked(settings->value("ShowAdvancedSettings").toBool());
advancedWidget->setHidden(!advancedSettingsGroupBox->isChecked());
}
else
{
advancedSettingsGroupBox->setChecked(false);
Expand Down

0 comments on commit 5b81672

Please sign in to comment.