fixed Ctrl+A in EditableWidget

This commit is contained in:
thrust26 2020-11-05 12:56:36 +01:00
parent 9a377a7849
commit 899584b455
1 changed files with 2 additions and 2 deletions

View File

@ -138,8 +138,8 @@ bool EditableWidget::handleControlKeys(StellaKey key, StellaMod mod)
switch(key)
{
case KBDK_A:
setCaretPos(0);
_selectSize = -int(_editString.size());
if(setCaretPos(int(_editString.size())))
_selectSize = -int(_editString.size());
break;
case KBDK_C: