Fixes to ctrl+backspace behavior (#5013)
This commit is contained in:
@@ -497,6 +497,12 @@ bool SelectChannelDialog::EventFilter::eventFilter(QObject *watched,
|
||||
widget->previousInFocusChain()->setFocus();
|
||||
return true;
|
||||
}
|
||||
else if (event_key == QKeySequence::DeleteStartOfWord &&
|
||||
this->dialog->ui_.twitch.channelName->selectionLength() > 0)
|
||||
{
|
||||
this->dialog->ui_.twitch.channelName->backspace();
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user