Capture select all command in TextInput
This commit is contained in:
parent
976a57dcbd
commit
d037867929
1 changed files with 2 additions and 0 deletions
|
|
@ -838,6 +838,8 @@ where
|
||||||
if state.keyboard_modifiers.command() =>
|
if state.keyboard_modifiers.command() =>
|
||||||
{
|
{
|
||||||
state.cursor.select_all(value);
|
state.cursor.select_all(value);
|
||||||
|
|
||||||
|
return event::Status::Captured;
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue