[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ktexteditor] src/vimode/emulatedcommandbar: Whoops - fix intermittent crashes by calling setViInput
From:       Simon St James <kdedevel () etotheipiplusone ! com>
Date:       2016-06-17 8:18:10
Message-ID: E1bDoyg-0002ZN-U8 () scm ! kde ! org
[Download RAW message or body]

Git commit 7acf83ca944bbec6f970d00d2f0de2f64c5a83d7 by Simon St James.
Committed on 17/06/2016 at 08:14.
Pushed by sstjames into branch 'master'.

Whoops - fix intermittent crashes by calling setViInputModeManager() on \
m_interactiveSedReplaceMode when it changes.

M  +1    -0    src/vimode/emulatedcommandbar/emulatedcommandbar.cpp

http://commits.kde.org/ktexteditor/7acf83ca944bbec6f970d00d2f0de2f64c5a83d7

diff --git a/src/vimode/emulatedcommandbar/emulatedcommandbar.cpp \
b/src/vimode/emulatedcommandbar/emulatedcommandbar.cpp index f720fe8..b18120b 100644
--- a/src/vimode/emulatedcommandbar/emulatedcommandbar.cpp
+++ b/src/vimode/emulatedcommandbar/emulatedcommandbar.cpp
@@ -379,6 +379,7 @@ void EmulatedCommandBar::setViInputModeManager(InputModeManager \
*viInputModeMana  m_viInputModeManager = viInputModeManager;
     m_searchMode->setViInputModeManager(viInputModeManager);
     m_commandMode->setViInputModeManager(viInputModeManager);
+    m_interactiveSedReplaceMode->setViInputModeManager(viInputModeManager);
 }
 
 void EmulatedCommandBar::hideAllWidgetsExcept(QWidget* widgetToKeepVisible)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic