1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 06:43:22 +02:00

Fixed recent paths update logic

This commit is contained in:
Martin Tůma 2024-03-03 23:20:25 +01:00
parent d9e6c30567
commit 3ba6d2d24f

View File

@ -2079,7 +2079,7 @@ void GUI::updateRecentFiles(const QString &fileName)
QList<QAction *> actions(_recentFilesActionGroup->actions());
for (int i = 0; i < actions.size(); i++) {
if (actions.at(i)->text() == fileName) {
if (actions.at(i)->data().toString() == fileName) {
a = actions.at(i);
break;
}