Commit 7a98356d authored by Ivan Yossi's avatar Ivan Yossi 👌

Remove deleted session pointer from KisPart currentSession

BUG:409909
parent 76e2b76b
......@@ -132,6 +132,7 @@ void KisSessionManagerDialog::slotDeleteSession()
QString(i18n("Permanently delete session %1?", session->name())),
QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
KisPart::instance()->setCurrentSession(0);
const QString filename = session->filename();
KoResourceServer<KisSessionResource> *server = KisResourceServerProvider::instance()->sessionServer();
......
Markdown is supported
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