From 9ec50b865ddea2ffda33fbb34f0cdebcba643b55 Mon Sep 17 00:00:00 2001 From: bslhq Date: Tue, 17 Oct 2023 20:45:55 +0800 Subject: [PATCH] Fix nfc menu list of recent nfc files (#996) --- src/gui/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp index 3156f2de..92594d00 100644 --- a/src/gui/MainWindow.cpp +++ b/src/gui/MainWindow.cpp @@ -1751,7 +1751,7 @@ void MainWindow::UpdateNFCMenu() if (entry.empty()) continue; - if (!fs::exists(entry)) + if (!fs::exists(_utf8ToPath(entry))) continue; if (recentFileIndex == 0)