From 26999fa04d737b9d3a2a46744e693954094cd64b Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 26 Dec 2019 16:55:21 +0300 Subject: [PATCH] Update views on the module activation --- src/SMESHGUI/SMESHGUI.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 1ae2f8db9..661a7b09e 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -4984,8 +4984,10 @@ bool SMESHGUI::activateModule( SUIT_Study* study ) if ( aDesk ) { QList wndList = aDesk->windows(); SUIT_ViewWindow* wnd; - foreach ( wnd, wndList ) - connectView( wnd ); + foreach(wnd, wndList) { + connectView(wnd); + wnd->update(); + } } Py_XDECREF(pluginsmanager); -- 2.30.2