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
185fe315
Commit
185fe315
authored
Sep 17, 2022
by
Christoph Cullmann
🍨
Committed by
Eric Armbruster
Sep 19, 2022
Browse files
fix crash on split & reactive settings without view
parent
a8c1adf4
Changes
2
Hide whitespace changes
Inline
Side-by-side
apps/lib/katemainwindow.cpp
View file @
185fe315
...
...
@@ -925,10 +925,6 @@ void KateMainWindow::slotConfigure()
bool
KateMainWindow
::
showPluginConfigPage
(
KTextEditor
::
Plugin
*
configpageinterface
,
int
id
)
{
if
(
!
m_viewManager
->
activeView
())
{
return
false
;
}
KateConfigDialog
*
dlg
=
new
KateConfigDialog
(
this
);
if
(
configpageinterface
)
{
dlg
->
showAppPluginPage
(
configpageinterface
,
id
);
...
...
apps/lib/kateviewmanager.cpp
View file @
185fe315
...
...
@@ -1024,10 +1024,12 @@ void KateViewManager::splitViewSpace(KateViewSpace *vs, // = 0
vsNew
->
setActive
(
true
);
vsNew
->
show
();
createView
(
activeView
()
->
document
());
if
(
auto
v
=
vs
->
currentView
())
{
createView
(
v
->
document
());
if
(
moveDocument
)
{
vs
->
closeDocument
(
vs
->
currentView
()
->
document
());
if
(
moveDocument
)
{
vs
->
closeDocument
(
v
->
document
());
}
}
updateViewSpaceActions
();
...
...
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