diff --git a/src/blackgui/components/invisibleinfoareacomponent.cpp b/src/blackgui/components/invisibleinfoareacomponent.cpp index 5c90cad5a..0ad304216 100644 --- a/src/blackgui/components/invisibleinfoareacomponent.cpp +++ b/src/blackgui/components/invisibleinfoareacomponent.cpp @@ -24,7 +24,13 @@ namespace BlackGui ui(new Ui::CInvisibleInfoAreaComponent) { ui->setupUi(this); - this->ui->comp_Navigator->allowStatusBar(false); + + // remove widgets just required for GUI builder, but not needed for promoted component + this->ui->comp_Navigator->layout()->removeWidget(this->ui->qw_NavigatorDummy); + delete this->ui->qw_NavigatorDummy; + this->ui->qw_NavigatorDummy = nullptr; + + // init area this->initInfoArea(); } diff --git a/src/blackgui/components/invisibleinfoareacomponent.ui b/src/blackgui/components/invisibleinfoareacomponent.ui index ebeace10d..2f0935dd2 100644 --- a/src/blackgui/components/invisibleinfoareacomponent.ui +++ b/src/blackgui/components/invisibleinfoareacomponent.ui @@ -30,7 +30,7 @@ 1 - +