Fixes #1266 tabs too wide after zoom

This commit is contained in:
fourtf
2019-09-01 13:26:06 +02:00
parent 5c0f81defd
commit d796517eb3
2 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -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();