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));