From d2bd521ad0e7dab75a44995527e8291565039634 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Tue, 30 Jun 2026 21:08:35 +0800 Subject: [PATCH] fix: show empty url list doesn't reset window title --- app/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp index ff904dc..3de7a9b 100644 --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -291,6 +291,7 @@ void MainWindow::galleryCurrent(bool showLoadImageHintWhenEmpty, bool reloadImag setWindowTitle(m_pm->urlByIndex(index).fileName()); } else if (showLoadImageHintWhenEmpty && m_pm->totalCount() <= 0) { m_graphicsView->showText(QCoreApplication::translate("GraphicsScene", "Drag image here")); + setWindowTitle(QString()); } updateGalleryButtonsVisibility();