Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
a2ec1a02
Commit
a2ec1a02
authored
Nov 01, 2022
by
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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
apps/lib/kateviewmanager.cpp
View file @
a2ec1a02
...
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment