diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp index 8f83a304..19358b82 100644 --- a/src/GUI/gui.cpp +++ b/src/GUI/gui.cpp @@ -2489,7 +2489,7 @@ void GUI::writeSettings() QList recentActions(_recentFilesActionGroup->actions()); QStringList recent; for (int i = 0; i < recentActions.size(); i++) - recent.append(recentActions.at(i)->text()); + recent.append(recentActions.at(i)->data().toString()); settings.beginGroup(SETTINGS_FILE); WRITE(recentDataFiles, recent);