summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse2/muse/app.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp
index 7c716464..b09e7191 100644
--- a/muse2/muse/app.cpp
+++ b/muse2/muse/app.cpp
@@ -2089,6 +2089,9 @@ void MusE::toplevelDeleted(TopWin* tl)
for (iToplevel i = toplevels.begin(); i != toplevels.end(); ++i) {
if (*i == tl) {
+ if (tl == activeTopWin)
+ activeTopWinChangedSlot(NULL);
+
if (tl == currentMenuSharingTopwin)
setCurrentMenuSharingTopwin(NULL);