support ctrl+a for selecting all
This commit is contained in:
parent
cdd6861aff
commit
5869f391c1
1 changed files with 5 additions and 0 deletions
|
@ -366,7 +366,12 @@ void TextBox::keyPressEvent(XKeyEvent &event) {
|
|||
adjustPos();
|
||||
}
|
||||
break;
|
||||
case 'a':
|
||||
selectAll();
|
||||
break;
|
||||
}
|
||||
clear();
|
||||
return;
|
||||
|
||||
} else { // no state
|
||||
|
||||
|
|
Loading…
Reference in a new issue