mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 20:26:45 -04:00
Enable copy action only when some text are selected.
FEATURE: 203768 FIXED-IN: 4.8
This commit is contained in:
@@ -522,6 +522,8 @@ SessionController* ViewManager::createController(Session* session , TerminalDisp
|
||||
connect( session , SIGNAL(destroyed()) , controller , SLOT(deleteLater()) );
|
||||
connect( session , SIGNAL(primaryScreenInUse(bool)) ,
|
||||
controller , SLOT(setupPrimaryScreenSpecificActions(bool)) );
|
||||
connect( session , SIGNAL(selectedText(QString)) ,
|
||||
controller , SLOT(updateCopyAction(QString)) );
|
||||
connect( view , SIGNAL(destroyed()) , controller , SLOT(deleteLater()) );
|
||||
|
||||
// if this is the first controller created then set it as the active controller
|
||||
|
||||
Reference in New Issue
Block a user