mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix crash when closing all tabs on macOS (#3860)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
044dd8a616
commit
3b9ac7456a
|
@ -40,7 +40,7 @@
|
||||||
- Bugfix: Fixed message only showing a maximum of one global FrankerFaceZ badge even if the user has multiple. (#3818)
|
- Bugfix: Fixed message only showing a maximum of one global FrankerFaceZ badge even if the user has multiple. (#3818)
|
||||||
- Bugfix: Add icon in the CMake macOS bundle. (#3832)
|
- Bugfix: Add icon in the CMake macOS bundle. (#3832)
|
||||||
- Bugfix: Adopt popup windows in order to force floating behavior on some window managers. (#3836)
|
- Bugfix: Adopt popup windows in order to force floating behavior on some window managers. (#3836)
|
||||||
- Bugfix: Fix split focusing being broken in certain circumstances when the "Show input when it's empty" setting was disabled. (#3838)
|
- Bugfix: Fix split focusing being broken in certain circumstances when the "Show input when it's empty" setting was disabled. (#3838, #3860)
|
||||||
- Bugfix: Always refresh tab when a contained split's channel is set. (#3849)
|
- Bugfix: Always refresh tab when a contained split's channel is set. (#3849)
|
||||||
- Dev: Remove official support for QMake. (#3839)
|
- Dev: Remove official support for QMake. (#3839)
|
||||||
- Dev: Rewrite LimitedQueue (#3798)
|
- Dev: Rewrite LimitedQueue (#3798)
|
||||||
|
|
|
@ -209,14 +209,16 @@ Split::Split(QWidget *parent)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this->input_->ui_.textEdit->focused.connect([this] {
|
this->signalHolder_.managedConnect(this->input_->ui_.textEdit->focused,
|
||||||
// Forward textEdit's focused event
|
[this] {
|
||||||
this->focused.invoke();
|
// Forward textEdit's focused event
|
||||||
});
|
this->focused.invoke();
|
||||||
this->input_->ui_.textEdit->focusLost.connect([this] {
|
});
|
||||||
// Forward textEdit's focusLost event
|
this->signalHolder_.managedConnect(this->input_->ui_.textEdit->focusLost,
|
||||||
this->focusLost.invoke();
|
[this] {
|
||||||
});
|
// Forward textEdit's focusLost event
|
||||||
|
this->focusLost.invoke();
|
||||||
|
});
|
||||||
this->input_->ui_.textEdit->imagePasted.connect(
|
this->input_->ui_.textEdit->imagePasted.connect(
|
||||||
[this](const QMimeData *source) {
|
[this](const QMimeData *source) {
|
||||||
if (!getSettings()->imageUploaderEnabled)
|
if (!getSettings()->imageUploaderEnabled)
|
||||||
|
|
Loading…
Reference in a new issue