Manually simplify bool expressions and fix rtgui/progressconnector.h

This commit is contained in:
Flössie
2016-10-18 18:30:25 +02:00
parent ae98d4cb1f
commit fb8941cd88
3 changed files with 6 additions and 4 deletions

View File

@@ -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