Fixes #1266 tabs too wide after zoom
This commit is contained in:
@@ -61,7 +61,12 @@ BaseWindow::BaseWindow(QWidget *parent, Flags _flags)
|
||||
this->init();
|
||||
|
||||
getSettings()->uiScale.connect(
|
||||
[this]() { postToThread([this] { this->updateScale(); }); },
|
||||
[this]() {
|
||||
postToThread([this] {
|
||||
this->updateScale();
|
||||
this->updateScale();
|
||||
});
|
||||
},
|
||||
this->connections_);
|
||||
|
||||
this->updateScale();
|
||||
|
||||
Reference in New Issue
Block a user