Commit d7448c31 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix assert

parent bdfe92d4
Pipeline #259258 failed with stage
in 18 minutes and 1 second
......@@ -1006,7 +1006,7 @@ void KateViewManager::closeView(KTextEditor::View *view)
void KateViewManager::moveViewToViewSpace(KateViewSpace *dest, KateViewSpace *src, DocOrWidget docOrWidget)
// We always have an active view at this point which is what we are moving
Q_ASSERT(activeView() || activeViewSpace()->currentWidget());
// Are we trying to drop into some other mainWindow of current app session?
// shouldn't happen, but just a safe guard
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