Fix split focusing being broken in certain circumstances when the "Show input when it's empty" setting was disabled (#3838)
Co-authored-by: Kasia <zneix@zneix.eu>
This commit is contained in:
@@ -96,8 +96,10 @@ QString ResizingTextEdit::textUnderCursor(bool *hadSpace) const
|
||||
return lastWord;
|
||||
}
|
||||
|
||||
bool ResizingTextEdit::eventFilter(QObject *, QEvent *event)
|
||||
bool ResizingTextEdit::eventFilter(QObject *obj, QEvent *event)
|
||||
{
|
||||
(void)obj; // unused
|
||||
|
||||
// makes QShortcuts work in the ResizingTextEdit
|
||||
if (event->type() != QEvent::ShortcutOverride)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user