From 30c2bddd03337571d178dd1029d27ca1504a1bb9 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 26 Apr 2020 15:27:14 +0200 Subject: [PATCH] bug fix: isHidden is better than isVisible since we need the correct state even if the window is covered by other windows --- src/audiomixerboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audiomixerboard.h b/src/audiomixerboard.h index f5d04393..d8ecb871 100755 --- a/src/audiomixerboard.h +++ b/src/audiomixerboard.h @@ -52,7 +52,7 @@ public: void SetChannelInfos ( const CChannelInfo& cChanInfo ); void Show() { pFrame->show(); } void Hide() { pFrame->hide(); } - bool IsVisible() { return plblLabel->isVisible(); } + bool IsVisible() { return !pFrame->isHidden(); } bool IsSolo() { return pcbSolo->isChecked(); } bool IsMute() { return pcbMute->isChecked(); } void SetGUIDesign ( const EGUIDesign eNewDesign );