mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-09 11:27:56 -05:00
fix map tab icon
This commit is contained in:
parent
95c21a4572
commit
46ada32733
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user