Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
b3e4bd60
Commit
b3e4bd60
authored
Sep 27, 2022
by
Christoph Cullmann
🍨
Browse files
fix unit test
did break one variant of closing, no idea why, but therefore we have the tests
parent
87314996
Pipeline
#237378
failed with stage
in 10 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/kateviewspace.cpp
View file @
b3e4bd60
...
...
@@ -576,6 +576,13 @@ void KateViewSpace::closeDocument(KTextEditor::Document *doc)
documentDestroyed
(
doc
);
}
}
/**
* if this was the last doc, let viewManager know we are empty
*/
if
(
m_registeredDocuments
.
isEmpty
()
&&
m_tabBar
->
count
()
==
0
)
{
Q_EMIT
viewSpaceEmptied
(
this
);
}
}
bool
KateViewSpace
::
acceptsDroppedTab
(
const
QMimeData
*
md
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment