From ca946aabcb3b7c8c3ccbd9ae5f9b85c461f4cc3a Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 15 Feb 2023 18:05:18 +0100 Subject: [PATCH] Gui: [skip ci] set object name to tabbar of MDI area --- src/Gui/MainWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp index 2815d9c2ea..37c1a97832 100644 --- a/src/Gui/MainWindow.cpp +++ b/src/Gui/MainWindow.cpp @@ -280,6 +280,7 @@ MainWindow::MainWindow(QWidget * parent, Qt::WindowFlags f) tab->setTabsClosable(true); // The tabs might be very wide tab->setExpanding(false); + tab->setObjectName(QString::fromLatin1("mdiAreaTabBar")); } d->mdiArea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); d->mdiArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);