Fix crash when we try to save and we can't load session files

(I think that there is a bug into KGlobal::dirs()->findAllResources(...)
I will look at it why it doesn't rescue files

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=547597
wilder-portage
Laurent Montel 20 years ago
parent ef1cbde05f
commit 415c3036ba
  1. 2
      settings/sessioneditor.cpp

@ -312,6 +312,8 @@ void SessionEditor::saveCurrent()
}
}
if (sessionList->currentText().isEmpty())
return;
QString fullpath;
if (sessionList->currentText() == nameLine->text()) {

Loading…
Cancel
Save