Manually simplify bool expressions and fix rtgui/progressconnector.h
This commit is contained in:
@@ -2123,8 +2123,9 @@ void FileCatalog::tbRightPanel_1_toggled ()
|
||||
|
||||
bool FileCatalog::CheckSidePanelsVisibility()
|
||||
{
|
||||
return !(!tbLeftPanel_1->get_active() && !tbRightPanel_1->get_active());
|
||||
return tbLeftPanel_1->get_active() || tbRightPanel_1->get_active();
|
||||
}
|
||||
|
||||
void FileCatalog::toggleSidePanels()
|
||||
{
|
||||
// toggle left AND right panels
|
||||
|
Reference in New Issue
Block a user