Commit 1a6c06de authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Fix view activation of dropped view

Get rid of the showView() internal call. That is wrong. Let the view
manager handle showing/activation
parent 75635cf4
Pipeline #251040 passed with stage
in 27 minutes and 3 seconds
......@@ -1043,6 +1043,7 @@ void KateViewManager::moveViewToViewSpace(KateViewSpace *dest, KateViewSpace *sr
dest->addView(view);
setActiveSpace(dest);
activateView(view);
}
void KateViewManager::splitViewSpace(KateViewSpace *vs, // = 0
......
......@@ -660,7 +660,6 @@ void KateViewSpace::addView(KTextEditor::View *v)
// We must not already have this widget
Q_ASSERT(stack->indexOf(v) == -1);
stack->addWidget(v);
showView(v);
}
void KateViewSpace::documentDestroyed(QObject *doc)
......
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