diff --git a/Code/Mantid/MantidPlot/src/Mantid/PeakPickerTool.cpp b/Code/Mantid/MantidPlot/src/Mantid/PeakPickerTool.cpp index fcea10336ed9c830600a373d0ce12eb1fca8c74e..f1949d58746a385042d50d02e702f2d2187ed260 100644 --- a/Code/Mantid/MantidPlot/src/Mantid/PeakPickerTool.cpp +++ b/Code/Mantid/MantidPlot/src/Mantid/PeakPickerTool.cpp @@ -88,9 +88,8 @@ m_width_set(true),m_width(0),m_addingPeak(false),m_resetting(false) this,SLOT(removePlot(MantidQt::MantidWidgets::PropertyHandler*))); connect(m_fitPropertyBrowser,SIGNAL(removeFitCurves()),this,SLOT(removeFitCurves())); - // When fit browser destroyed, disable oneself in the parent graph - connect(m_fitPropertyBrowser, SIGNAL( destroyed() ), graph, SLOT( disableTools() ), - Qt::QueuedConnection); + // When fit browser destroyed, disable oneself in the parent graph + connect(m_fitPropertyBrowser, SIGNAL(destroyed()), graph, SLOT(disableTools())); //Show the fitPropertyBrowser if it isn't already. if (showFitPropertyBrowser) m_fitPropertyBrowser->show();