mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-27 18:36:38 -05:00
fix map tab icon
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user