]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2669: Rebuild data tree on undo of "Move to the end" command.
authorvsv <vsv@opencascade.com>
Wed, 3 Oct 2018 09:18:16 +0000 (12:18 +0300)
committervsv <vsv@opencascade.com>
Wed, 3 Oct 2018 09:18:36 +0000 (12:18 +0300)
src/XGUI/XGUI_ObjectsBrowser.cpp

index 4cb07f5b27469e541690e22354abe6424ea2d9d5..b08ccc36e8fd56b2ca403aef51190fc6f529b660 100644 (file)
@@ -28,6 +28,7 @@
 #include <ModelAPI_Tools.h>
 
 #include <ModuleBase_Tools.h>
+#include <ModuleBase_ITreeNode.h>
 
 #include <XGUI_Workshop.h>
 
@@ -524,6 +525,7 @@ QModelIndexList XGUI_ObjectsBrowser::expandedItems(const QModelIndex& theParent)
 //***************************************************
 void XGUI_ObjectsBrowser::rebuildDataTree()
 {
+  myDocModel->root()->update();
   myDocModel->rebuildDataTree();
   update();
 }