Skip to content

Commit 23c1da9

Browse files
committed
Fix LastOpenedParh
1 parent 4dbf1b9 commit 23c1da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcodeworkshop/src/gcodeworkshop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2216,7 +2216,7 @@ void GCodeWorkShop::loadFile(const DocumentInfo::Ptr& info, bool checkAlreadyLoa
22162216
QApplication::restoreOverrideCursor();
22172217

22182218
if (status) {
2219-
setLastOpenedPath(info->filePath);
2219+
setLastOpenedPath(file.path());
22202220
updateStatusBar();
22212221
m_recentFiles->add(info->filePath);
22222222
} else {

0 commit comments

Comments
 (0)