From 46ada327331116f6cc5fac4eec29daf6c3c7d853 Mon Sep 17 00:00:00 2001 From: garak Date: Wed, 25 Oct 2023 12:25:19 -0400 Subject: [PATCH] fix map tab icon --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 19bb0d9d..39494686 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -365,6 +365,7 @@ void MainWindow::showWindowTitle() { ); } if (editor && editor->layout) { + ui->mainTabBar->setTabIcon(0, QIcon()); QPixmap pixmap = editor->layout->pixmap; if (!pixmap.isNull()) { ui->mainTabBar->setTabIcon(0, QIcon(pixmap));