Skip to content

Commit

Permalink
Re #6798 Allowed updateTree() to be called without free GUI thread
Browse files Browse the repository at this point in the history
  • Loading branch information
PranavBahuguna committed Aug 9, 2016
1 parent 803cc0b commit cfc8b4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MantidPlot/src/Mantid/MantidDock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ void MantidDockWidget::setItemIcon(QTreeWidgetItem *item,
* It is important that the workspace tree is modified only by this method.
*/
void MantidDockWidget::updateTree() {
// [Removed]
// do not update until the counter is zero
if (m_updateCount.deref())
return;
Expand Down

0 comments on commit cfc8b4e

Please sign in to comment.