support ctrl+a for selecting all

This commit is contained in:
Thomas Lübking 2016-09-05 16:32:41 +02:00 committed by Mathias Gumz
parent cdd6861aff
commit 5869f391c1

View file

@ -366,7 +366,12 @@ void TextBox::keyPressEvent(XKeyEvent &event) {
adjustPos();
}
break;
case 'a':
selectAll();
break;
}
clear();
return;
} else { // no state