Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Dec 14, 2017
1 parent 4804567 commit 05d19d3
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -114,7 +114,7 @@ SimulationExperimentViewSimulationWidget::SimulationExperimentViewSimulationWidg

mToolBarWidget = new Core::ToolBarWidget(this);

// Create and handle various actions
// Create, customise and handle various actions

mRunPauseResumeSimulationAction = Core::newAction(QIcon(":/oxygen/actions/media-playback-start.png"),
Qt::Key_F9, mToolBarWidget);
Expand Down Expand Up @@ -1744,17 +1744,17 @@ bool SimulationExperimentViewSimulationWidget::createSedmlFile(const QString &pF

// Keep track of the graph panel's graphs, if any

Core::Properties graphProperties = graphPanelAndGraphsWidget->graphProperties(graphPanel, simulationFileName);
Core::Properties graphsProperties = graphPanelAndGraphsWidget->graphProperties(graphPanel, simulationFileName);

if (!graphProperties.isEmpty()) {
if (!graphsProperties.isEmpty()) {
GraphsData data;

data.sedmlPlot2d = sedmlPlot2d;
data.graphPlotCounter = graphPlotCounter;
data.logAxisX = graphPanel->plot()->logAxisX();
data.logAxisY = graphPanel->plot()->logAxisY();

graphsData.insert(graphProperties, data);
graphsData.insert(graphsProperties, data);
}
}

Expand Down

0 comments on commit 05d19d3

Please sign in to comment.