Skip to content

Commit fc39f9c

Browse files
YoannQDQnyalldawson
authored andcommittedMar 23, 2023
QgsStatusBar::removeWidget hides the widget (like QStatusBar::removeWidget)
1 parent 2999d59 commit fc39f9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/gui/qgsstatusbar.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ void QgsStatusBar::addPermanentWidget( QWidget *widget, int stretch, Anchor anch
5959
void QgsStatusBar::removeWidget( QWidget *widget )
6060
{
6161
mLayout->removeWidget( widget );
62+
widget->hide();
6263
}
6364

6465
QString QgsStatusBar::currentMessage() const

0 commit comments

Comments
 (0)
Please sign in to comment.