From a8fddfcd7b60b735eed0fc3288f83b35c658fe53 Mon Sep 17 00:00:00 2001 From: Dalton Messmer Date: Sun, 17 Nov 2024 13:16:38 -0500 Subject: [PATCH] fix detached windows being shown after toggleVisibility() is called (#7584) Signed-off-by: Dalton Messmer Co-authored-by: SpomJ --- src/gui/instrument/InstrumentTrackWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/instrument/InstrumentTrackWindow.cpp b/src/gui/instrument/InstrumentTrackWindow.cpp index 55eebdb3219..a2fcc1a2ec4 100644 --- a/src/gui/instrument/InstrumentTrackWindow.cpp +++ b/src/gui/instrument/InstrumentTrackWindow.cpp @@ -510,6 +510,7 @@ void InstrumentTrackWindow::toggleVisibility( bool on ) else { parentWidget()->hide(); + hide(); } }