1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-31 00:55:13 +01:00

Yet another recent files fix

This commit is contained in:
Martin Tůma 2024-03-03 23:31:08 +01:00
parent 3ba6d2d24f
commit 468e662e4f

View File

@ -2489,7 +2489,7 @@ void GUI::writeSettings()
QList<QAction*> 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);