Commit 9fc29d38 authored by loh tar's avatar loh tar Committed by Christoph Cullmann
Browse files

(re) fix BUG: 412227

Has not worked here, but now do

commit e114b53e
Author: Christoph Cullmann <cullmann@kde.org>
Date:   Mon Sep 23 09:36:35 2019 +0200

    ensure view stack gets focus on startup
    BUG: 412227
parent 672c193c
Pipeline #214413 passed with stage
in 10 minutes and 39 seconds
......@@ -162,7 +162,7 @@ KateMainWindow::KateMainWindow(KConfig *sconfig, const QString &sgroup)
// in all cases: avoid that arbitrary plugin toolviews get focus, like terminal, bug 412227
// we need to delay this a bit due to lazy view creation (and lazy e.g. terminal widget creation)
QTimer::singleShot(0, centralWidget(), SLOT(setFocus()));
QTimer::singleShot(0, m_viewManager->activeView(), SLOT(setFocus()));
// kwrite doesn't want sidebars, we have no plugins
if (KateApp::isKWrite()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment