mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix tab direction change crash (#4248)
* Fix tab direction change crash * changelog * Update CHANGELOG.md Co-authored-by: pajlada <rasmus.karlsson@pajlada.com> Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
69a73e3291
commit
bc5a03af26
|
@ -13,6 +13,7 @@
|
|||
- Bugfix: Fixed message input showing as red after removing a message that was more than 500 characters. (#4204)
|
||||
- Bugfix: Fixed unnecessary saving of windows layout. (#4201)
|
||||
- Bugfix: Fixed Reply window missing selection clear behaviour between chat and input box. (#4218)
|
||||
- Bugfix: Fixed crash that could occur when changing Tab layout and utilizing multiple windows. (#4248)
|
||||
- Dev: Ignore `WM_SHOWWINDOW` hide events, causing fewer attempted rescales. (#4198)
|
||||
|
||||
## 2.4.0
|
||||
|
|
|
@ -80,9 +80,11 @@ Window::Window(WindowType type, QWidget *parent)
|
|||
});
|
||||
if (type == WindowType::Main || type == WindowType::Popup)
|
||||
{
|
||||
getSettings()->tabDirection.connect([this](int val) {
|
||||
this->notebook_->setTabLocation(NotebookTabLocation(val));
|
||||
});
|
||||
getSettings()->tabDirection.connect(
|
||||
[this](int val) {
|
||||
this->notebook_->setTabLocation(NotebookTabLocation(val));
|
||||
},
|
||||
this->signalHolder_);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue