Commit 3c0ab08d authored by Agata Cacko's avatar Agata Cacko
Browse files

Fix adding files to Recent Documents

Because of typo files were added to Recent Documents
every time it wasn't needed and not added when it was
needed. This commit makes adding files to Recent Documents
consistent with the intent.

BUG:405364
parent c8a555d0
......@@ -1187,7 +1187,7 @@ bool KisDocument::openUrl(const QUrl &_url, OpenFlags flags)
else {
if (ret) {
if ((flags & DontAddToRecent)) {
if (!(flags & DontAddToRecent)) {
KisPart::instance()->addRecentURLToAllMainWindows(_url);
}
......
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