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
fe71e7e7
Commit
fe71e7e7
authored
Sep 12, 2022
by
Waqar Ahmed
Browse files
Fix viewspace not closed when last is not a KTE::View
parent
11eb4631
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/kateviewspace.cpp
View file @
fe71e7e7
...
...
@@ -729,6 +729,11 @@ void KateViewSpace::closeTabRequest(int idx)
m_tabBar
->
removeTab
(
idx
);
widget
->
deleteLater
();
Q_EMIT
m_viewManager
->
mainWindow
()
->
widgetRemoved
(
widget
);
// if this was the last doc, let viewManager know we are empty
if
(
m_registeredDocuments
.
isEmpty
()
&&
m_tabBar
->
count
()
==
0
)
{
Q_EMIT
viewSpaceEmptied
(
this
);
}
}
return
;
}
...
...
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