Skip to content

Commit

Permalink
Set default value for simulation mode setting in the result viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
stfnp committed May 12, 2020
1 parent ced16c9 commit 4e72553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/post/OutputWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ OutputWidget::OutputWidget(const OutputData& output)
this->setLayout(vbox);

QSettings settings;
int mode = settings.value("OutputWidget/selectedMode").toInt();
int mode = settings.value("OutputWidget/selectedMode", int(enable_dynamics)).toInt();
bt_statics->setChecked(mode == 0);
bt_dynamics->setChecked(mode == 1);
}
Expand Down

0 comments on commit 4e72553

Please sign in to comment.