Commit a2ec1a02 authored by Eric Armbruster's avatar Eric Armbruster 🍁
Browse files

Add files opened via open action to recent files

BUG: 461062
parent 8f091293
Pipeline #259790 failed with stage
in 22 minutes and 25 seconds
......@@ -343,6 +343,9 @@ void KateViewManager::slotDocumentOpen()
KateDocumentInfo docInfo;
docInfo.openedByUser = true;
if (KTextEditor::Document *lastID = openUrls(urls, QString(), docInfo)) {
for (const QUrl &url : qAsConst(urls)) {
m_mainWindow->addRecentOpenedFile(url);
}
activateView(lastID);
}
}
......
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