layout->addWidget(fileOperator);
- connect(this, SIGNAL(activePaneSwitched()), leftPane, SLOT(toggleActive()));
- connect(this, SIGNAL(activePaneSwitched()), rightPane, SLOT(toggleActive()));
+ connect(leftPane, SIGNAL(switchPanes()), this, SLOT(switchActivePane()));
+ connect(rightPane, SIGNAL(switchPanes()), this, SLOT(switchActivePane()));
connect(cloneBtn, SIGNAL(pressed()), this, SLOT(clonePane()));
connect(swapBtn, SIGNAL(pressed()), this, SLOT(swapPanes()));
moveBtn->swapIcon();
delBtn->swapIcon();
- emit activePaneSwitched();
+ activePane->toggleActive();
+ inactivePane->toggleActive();
}