From 958f22a0b718d5a94cecd20073710c80e609cdac Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Sun, 21 Aug 2011 14:29:25 +0000 Subject: fixed bugs regarding saving and restoring toolbar state --- muse2/muse/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'muse2/muse/app.cpp') diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp index 60075a1a..ba4d2487 100644 --- a/muse2/muse/app.cpp +++ b/muse2/muse/app.cpp @@ -3143,7 +3143,7 @@ void MusE::shareMenuAndToolbarChanged(TopWin* win, bool val) { if (win == currentMenuSharingTopwin) { - if (win != activeTopWin) + if (activeTopWin && (win != activeTopWin) && (activeTopWin->sharesToolsAndMenu())) setCurrentMenuSharingTopwin(activeTopWin); else setCurrentMenuSharingTopwin(NULL); -- cgit v1.2.3