Commit b6a053b4 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix crash

parent ea043f3c
Pipeline #157138 passed with stage
in 5 minutes and 42 seconds
......@@ -386,7 +386,9 @@ void KateConfigDialog::slotApply()
cg.writeEntry("Close After Last", sessionConfigUi.modCloseAfterLast->isChecked());
m_mainWindow->setModCloseAfterLast(sessionConfigUi.modCloseAfterLast->isChecked());
cg.writeEntry("Show output view for message type", m_messageTypes->currentIndex());
if (m_messageTypes) {
cg.writeEntry("Show output view for message type", m_messageTypes->currentIndex());
}
cg.writeEntry("Stash unsaved file changes", sessionConfigUi.stashUnsavedFilesChanges->isChecked());
KateApp::self()->stashManager()->setStashUnsavedChanges(sessionConfigUi.stashUnsavedFilesChanges->isChecked());
......
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