Commit 8fba6ddf authored by Boudewijn Rempt's avatar Boudewijn Rempt

Close the view when closing a document through libkis

BUG:394015
patch by Jeroen Hoolmans, thanks!
parent 65074c27
......@@ -440,6 +440,7 @@ bool Document::close()
Q_FOREACH(KisView *view, KisPart::instance()->views()) {
if (view->document() == d->document) {
view->close();
view->closeView();
view->deleteLater();
}
}
......
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