mirror of
https://github.com/KDE/konsole.git
synced 2026-02-02 11:21:34 -05:00
Fix tab-specific actions (eg. Copy, Paste) not appearing in Configure Shortcuts dialog.
Add action collection for current controller to dialog before showing and reload UI for other controllers after the dialog is accepted. There is a known bug at the moment where changing a shortcut from a custom value to the default shortcut only updates the current tab and tabs created after the change. This is a kdelibs issue being looked into. BUG: 161021 BACKPORT: 4.1 svn path=/trunk/KDE/kdebase/apps/konsole/; revision=837726
This commit is contained in:
@@ -67,6 +67,7 @@ using namespace Konsole;
|
||||
|
||||
KIcon SessionController::_activityIcon;
|
||||
KIcon SessionController::_silenceIcon;
|
||||
QSet<SessionController*> SessionController::_allControllers;
|
||||
QPointer<SearchHistoryThread> SearchHistoryTask::_thread;
|
||||
int SessionController::_lastControllerId;
|
||||
|
||||
@@ -89,6 +90,8 @@ SessionController::SessionController(Session* session , TerminalDisplay* view, Q
|
||||
, _listenForScreenWindowUpdates(false)
|
||||
, _preventClose(false)
|
||||
{
|
||||
_allControllers.insert(this);
|
||||
|
||||
Q_ASSERT( session );
|
||||
Q_ASSERT( view );
|
||||
|
||||
@@ -170,6 +173,8 @@ SessionController::~SessionController()
|
||||
{
|
||||
if ( _view )
|
||||
_view->setScreenWindow(0);
|
||||
|
||||
_allControllers.remove(this);
|
||||
}
|
||||
void SessionController::trackOutput(QKeyEvent* event)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user