Skip to content

Commit

Permalink
Merge pull request #121 from mantidproject/bugfix/10887_project_explo…
Browse files Browse the repository at this point in the history
…rer_stale_refs

Fix crash when clicking on deleted windows in the project explorer
  • Loading branch information
rosswhitfield committed Jan 13, 2015
2 parents 96d950c + 79818e2 commit 3d1e7e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3131,7 +3131,6 @@ MultiLayer* MantidUI::plot1D(const QMultiMap<QString,int>& toPlot, bool spectrum
}
bool isGraphNew = false;
MultiLayer* ml = appWindow()->prepareMultiLayer(isGraphNew, plotWindow, plotTitle, clearWindow);
ml->setName(appWindow()->generateUniqueName(plotTitle + "-"));
m_lastShown1DPlotWin = ml;

// Do we plot try to plot as distribution. If request and it is not already one!
Expand Down

0 comments on commit 3d1e7e5

Please sign in to comment.