Reduce complexity of {CLEARFIELD} on Linux

Instead of `CTRL + HOME, CTRL + SHIFT + END, BACKSPACE` use `HOME, SHIFT + END, BACKSPACE`

Fixes #10006
This commit is contained in:
Jonathan White 2023-11-09 17:42:56 -05:00
parent 13362c9142
commit 195e5b53f2

View File

@ -606,8 +606,8 @@ AutoTypeAction::Result AutoTypeExecutorX11::execType(const AutoTypeKey* action)
AutoTypeAction::Result AutoTypeExecutorX11::execClearField(const AutoTypeClearField* action) AutoTypeAction::Result AutoTypeExecutorX11::execClearField(const AutoTypeClearField* action)
{ {
Q_UNUSED(action); Q_UNUSED(action);
execType(new AutoTypeKey(Qt::Key_Home, Qt::ControlModifier)); execType(new AutoTypeKey(Qt::Key_Home));
execType(new AutoTypeKey(Qt::Key_End, Qt::ControlModifier | Qt::ShiftModifier)); execType(new AutoTypeKey(Qt::Key_End, Qt::ShiftModifier));
execType(new AutoTypeKey(Qt::Key_Backspace)); execType(new AutoTypeKey(Qt::Key_Backspace));
return AutoTypeAction::Result::Ok(); return AutoTypeAction::Result::Ok();
} }