fix map tab icon
This commit is contained in:
parent
95c21a4572
commit
46ada32733
1 changed files with 1 additions and 0 deletions
|
@ -365,6 +365,7 @@ void MainWindow::showWindowTitle() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (editor && editor->layout) {
|
if (editor && editor->layout) {
|
||||||
|
ui->mainTabBar->setTabIcon(0, QIcon());
|
||||||
QPixmap pixmap = editor->layout->pixmap;
|
QPixmap pixmap = editor->layout->pixmap;
|
||||||
if (!pixmap.isNull()) {
|
if (!pixmap.isNull()) {
|
||||||
ui->mainTabBar->setTabIcon(0, QIcon(pixmap));
|
ui->mainTabBar->setTabIcon(0, QIcon(pixmap));
|
||||||
|
|
Loading…
Reference in a new issue