From eb49943649724b351451c36bf9f90becc4802c48 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Fri, 22 Feb 2008 19:32:43 +0000 Subject: [PATCH] Qt: FIXED disabling side bar when enabling translation --- src/qt/MainWnd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qt/MainWnd.cpp b/src/qt/MainWnd.cpp index 238ff26d..4fde5894 100644 --- a/src/qt/MainWnd.cpp +++ b/src/qt/MainWnd.cpp @@ -262,9 +262,11 @@ bool MainWnd::enableTranslation( bool enable ) // apply translation // the user might have to restart the application to apply changes completely + QByteArray windowState = saveState(); createDockWidgets(); createActions(); createMenus(); + restoreState( windowState ); return true; }