From 46cc2e0dbe0d63fad4d9cb69c5295ff4ca1faf2d 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 49aca52..860bb89 100644 --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -292,6 +292,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();