Skip to content

Commit

Permalink
App: show the document file suffix where applicable
Browse files Browse the repository at this point in the history
Relates to GitHub #170
  • Loading branch information
HuguesDelorme committed Jan 5, 2023
1 parent 50debc2 commit 4b948f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/commands_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void FileCommandTools::openDocumentsFromList(IAppContext* context, Span<const Fi
DocumentPtr docPtr = app->findDocumentByLocation(fp);
if (docPtr.IsNull()) {
docPtr = app->newDocument();
docPtr->setName(fp.stem().u8string());
docPtr->setName(fp.filename().u8string());
docPtr->setFilePath(fp);
// Use the Document identifier instead of handle within the job function(capture)
// Using the handle increases the ref count and the task will be released on next
Expand Down

0 comments on commit 4b948f9

Please sign in to comment.