From a7017cf8f8f7fb52c34786fc5553c4d6fbb9dd30 Mon Sep 17 00:00:00 2001 From: kerim371 Date: Mon, 27 Nov 2023 16:21:22 +0300 Subject: [PATCH] Added name for `ErrorLogToolButton` to keep it always at the most right of the status bar --- Base/QTApp/qSlicerMainWindow.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Base/QTApp/qSlicerMainWindow.cxx b/Base/QTApp/qSlicerMainWindow.cxx index 5e027e3353e..e215486bb95 100644 --- a/Base/QTApp/qSlicerMainWindow.cxx +++ b/Base/QTApp/qSlicerMainWindow.cxx @@ -736,6 +736,7 @@ void qSlicerMainWindowPrivate::setupStatusBar() { Q_Q(qSlicerMainWindow); this->ErrorLogToolButton = new QToolButton(); + this->ErrorLogToolButton->setObjectName("ErrorLogToolButton"); this->ErrorLogToolButton->setDefaultAction(this->ErrorLogToggleViewAction); q->statusBar()->addPermanentWidget(this->ErrorLogToolButton);