Disable clear & reset actions when the secondary screen is in use.

BUG:204741
FIXED-IN: 4.8
This commit is contained in:
Jekyll Wu
2011-08-27 00:10:58 +08:00
parent 802540d508
commit 0ddf722e08
7 changed files with 55 additions and 0 deletions

View File

@@ -520,6 +520,8 @@ SessionController* ViewManager::createController(Session* session , TerminalDisp
SessionController* controller = new SessionController(session,view,this);
connect( controller , SIGNAL(focused(SessionController*)) , this , SLOT(controllerChanged(SessionController*)) );
connect( session , SIGNAL(destroyed()) , controller , SLOT(deleteLater()) );
connect( session , SIGNAL(primaryScreenInUse(bool)) ,
controller , SLOT(setupPrimaryScreenSpecificActions(bool)) );
connect( view , SIGNAL(destroyed()) , controller , SLOT(deleteLater()) );
// if this is the first controller created then set it as the active controller