Fix text selection for clear_field step on Mac
This commit is contained in:
committed by
Jonathan White
parent
f703736685
commit
bba0c09b42
@@ -267,8 +267,8 @@ AutoTypeAction::Result AutoTypeExecutorMac::execType(const AutoTypeKey* action)
|
|||||||
AutoTypeAction::Result AutoTypeExecutorMac::execClearField(const AutoTypeClearField* action)
|
AutoTypeAction::Result AutoTypeExecutorMac::execClearField(const AutoTypeClearField* action)
|
||||||
{
|
{
|
||||||
Q_UNUSED(action);
|
Q_UNUSED(action);
|
||||||
execType(new AutoTypeKey(Qt::Key_Up, Qt::ControlModifier));
|
execType(new AutoTypeKey(Qt::Key_Left, Qt::ControlModifier));
|
||||||
execType(new AutoTypeKey(Qt::Key_Down, Qt::ControlModifier | Qt::ShiftModifier));
|
execType(new AutoTypeKey(Qt::Key_Right, Qt::ControlModifier | Qt::ShiftModifier));
|
||||||
execType(new AutoTypeKey(Qt::Key_Backspace));
|
execType(new AutoTypeKey(Qt::Key_Backspace));
|
||||||
return AutoTypeAction::Result::Ok();
|
return AutoTypeAction::Result::Ok();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user