From: vsv Date: Wed, 3 Oct 2018 09:18:16 +0000 (+0300) Subject: Issue #2669: Rebuild data tree on undo of "Move to the end" command. X-Git-Tag: CEA_2018-2~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1f71f44552f0ca4b143442b0f405e25948b06162;p=modules%2Fshaper.git Issue #2669: Rebuild data tree on undo of "Move to the end" command. --- diff --git a/src/XGUI/XGUI_ObjectsBrowser.cpp b/src/XGUI/XGUI_ObjectsBrowser.cpp index 4cb07f5b2..b08ccc36e 100644 --- a/src/XGUI/XGUI_ObjectsBrowser.cpp +++ b/src/XGUI/XGUI_ObjectsBrowser.cpp @@ -28,6 +28,7 @@ #include #include +#include #include @@ -524,6 +525,7 @@ QModelIndexList XGUI_ObjectsBrowser::expandedItems(const QModelIndex& theParent) //*************************************************** void XGUI_ObjectsBrowser::rebuildDataTree() { + myDocModel->root()->update(); myDocModel->rebuildDataTree(); update(); }