fix: don't ignore mousePressEvent in SplitInput (#4177)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com> Co-authored-by: pajlada <rasmus.karlsson@pajlada.com> Fixes https://github.com/Chatterino/chatterino2/issues/3844
This commit is contained in:
@@ -648,6 +648,16 @@ void SplitInput::installKeyPressedEvent()
|
||||
});
|
||||
}
|
||||
|
||||
void SplitInput::mousePressEvent(QMouseEvent *event)
|
||||
{
|
||||
if (this->hidden)
|
||||
{
|
||||
BaseWidget::mousePressEvent(event);
|
||||
}
|
||||
// else, don't call QWidget::mousePressEvent,
|
||||
// which will call event->ignore()
|
||||
}
|
||||
|
||||
void SplitInput::onTextChanged()
|
||||
{
|
||||
this->updateCompletionPopup();
|
||||
|
||||
Reference in New Issue
Block a user