From 3a91e038e542d16bf52897ece5399f78d2e8fde5 Mon Sep 17 00:00:00 2001 From: mb3h Date: Mon, 3 Feb 2025 12:42:12 +0900 Subject: [PATCH] [Bugfix] Under the session with a couple of symbol-files(.map etc.), fixes 'Reload all' button to expected behavior (loading entire symbols). --- src/SymbolTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SymbolTable.cpp b/src/SymbolTable.cpp index a629a50..5a36442 100644 --- a/src/SymbolTable.cpp +++ b/src/SymbolTable.cpp @@ -548,7 +548,7 @@ void SymbolTable::fileChanged(const QString& path) void SymbolTable::reloadFiles() { - for (int i = 0; i < symbolFiles.size(); ++i) { + for (int i = symbolFiles.size() -1; 0 <= i; --i) { // check if file is newer QFileInfo fi = QFileInfo(symbolFiles[i].fileName); if (fi.lastModified() <= symbolFiles[i].refreshTime) continue;