Skip to content

Commit

Permalink
Simualtion Experiment view: always initialise a property that we add.
Browse files Browse the repository at this point in the history
This is just to be on the safe side.
  • Loading branch information
agarny committed Jan 13, 2020
1 parent b68a863 commit d634b83
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -1107,16 +1107,16 @@ void SimulationExperimentViewInformationGraphPanelAndGraphsWidget::populateGraph
Core::Property *xAxisProperty = mGraphPanelPropertyEditor->addSectionProperty();

mGraphPanelPropertyEditor->addIntegerGt0Property(graphPanelPlot->fontSizeAxisX(), xAxisProperty);
mGraphPanelPropertyEditor->addBooleanProperty(xAxisProperty);
mGraphPanelPropertyEditor->addStringProperty(xAxisProperty);
mGraphPanelPropertyEditor->addBooleanProperty(graphPanelPlot->logAxisX(), xAxisProperty);
mGraphPanelPropertyEditor->addStringProperty(graphPanelPlot->titleAxisX(), xAxisProperty);

// Y axis

Core::Property *yAxisProperty = mGraphPanelPropertyEditor->addSectionProperty();

mGraphPanelPropertyEditor->addIntegerGt0Property(graphPanelPlot->fontSizeAxisY(), yAxisProperty);
mGraphPanelPropertyEditor->addBooleanProperty(yAxisProperty);
mGraphPanelPropertyEditor->addStringProperty(yAxisProperty);
mGraphPanelPropertyEditor->addBooleanProperty(graphPanelPlot->logAxisY(), yAxisProperty);
mGraphPanelPropertyEditor->addStringProperty(graphPanelPlot->titleAxisY(), yAxisProperty);

// Zoom region

Expand Down

0 comments on commit d634b83

Please sign in to comment.