When pressing space after entering a new value it would be cancelled. Now its being stored instead
This commit is contained in:
parent
0ecf3880c2
commit
6a35c4b482
@ -1314,8 +1314,16 @@ static void onTab()
|
|||||||
|
|
||||||
void Editor_menuEvent(int menuItem)
|
void Editor_menuEvent(int menuItem)
|
||||||
{
|
{
|
||||||
if (menuItem == EDITOR_MENU_ENTER_CURRENT_V && is_editing)
|
switch (menuItem)
|
||||||
|
{
|
||||||
|
case EDITOR_MENU_ENTER_CURRENT_V :
|
||||||
|
case EDITOR_MENU_PLAY :
|
||||||
|
{
|
||||||
|
if (is_editing)
|
||||||
endEditing();
|
endEditing();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
cancelEditing();
|
cancelEditing();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user