Skip to content

Commit e04dc04

Browse files
committed
fix getText usage
1 parent 8e34024 commit e04dc04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mscore/file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ void MuseScore::saveFile()
336336
if (cs->created()) {
337337
QString selectedFilter;
338338
QString fn = cs->fileInfo()->fileName();
339-
Text* t = cs->getText(TEXT_TITLE);
339+
Text* t = cs->getText(TEXT_STYLE_TITLE);
340340
if (t)
341341
fn = t->getText();
342342
QString name = createDefaultFileName(fn);

0 commit comments

Comments
 (0)