Skip to content

Commit d14ea2b

Browse files
da-liiiclaude
andauthored
[1005] 模板打开默认保存到 Documents/LiiiSTEM 目录 (#3357)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 700964a commit d14ea2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Plugins/Qt/qt_template_utils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ qt_generate_document_save_path (const QString& templateName) {
2222
if (docsDir.isEmpty ()) {
2323
docsDir= QStandardPaths::writableLocation (QStandardPaths::HomeLocation);
2424
}
25+
docsDir= QDir (docsDir).filePath ("LiiiSTEM");
2526

2627
QString baseName= templateName;
2728
baseName.replace (QRegularExpression ("[\\\\/:*?\"<>|]"), "_");

0 commit comments

Comments
 (0)