Skip to content

Commit

Permalink
Re #6798 Corrected previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
PranavBahuguna committed Aug 9, 2016
1 parent cfc8b4e commit 3dc8eba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions MantidPlot/src/Mantid/MantidDock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,9 @@ 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;
// if (m_updateCount.deref())
// return;

// find all expanded top-level entries
QStringList expanded;
Expand Down

0 comments on commit 3dc8eba

Please sign in to comment.