From 1f71f44552f0ca4b143442b0f405e25948b06162 Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 3 Oct 2018 12:18:16 +0300 Subject: [PATCH] Issue #2669: Rebuild data tree on undo of "Move to the end" command. --- src/XGUI/XGUI_ObjectsBrowser.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.39.2