bug fix: isHidden is better than isVisible since we need the correct state even if the window is covered by other windows

This commit is contained in:
Volker Fischer 2020-04-26 15:27:14 +02:00
parent 31341e7de9
commit 30c2bddd03

View file

@ -52,7 +52,7 @@ public:
void SetChannelInfos ( const CChannelInfo& cChanInfo ); void SetChannelInfos ( const CChannelInfo& cChanInfo );
void Show() { pFrame->show(); } void Show() { pFrame->show(); }
void Hide() { pFrame->hide(); } void Hide() { pFrame->hide(); }
bool IsVisible() { return plblLabel->isVisible(); } bool IsVisible() { return !pFrame->isHidden(); }
bool IsSolo() { return pcbSolo->isChecked(); } bool IsSolo() { return pcbSolo->isChecked(); }
bool IsMute() { return pcbMute->isChecked(); } bool IsMute() { return pcbMute->isChecked(); }
void SetGUIDesign ( const EGUIDesign eNewDesign ); void SetGUIDesign ( const EGUIDesign eNewDesign );