projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3915df9
)
fixed bug with screen keyboard still being active during request dialogs
author
Holger Schemel
<info@artsoft.org>
Thu, 7 Jan 2021 23:01:08 +0000
(
00:01
+0100)
committer
Holger Schemel
<info@artsoft.org>
Thu, 7 Jan 2021 23:01:08 +0000
(
00:01
+0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 95f05bf10b337eae5f82094f27ca0a2bb5d79573..d7e5016a54a7a71c0ea09416b53841db89fd4ac3 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-4260,12
+4260,16
@@
static void HandleTypeNameExt(boolean initialize, Key key)
}
else if (key == KSYM_Return)
{
+ StopTextInput();
+
setTypeNameValues(name, pos, TRUE);
active = FALSE;
}
else if (key == KSYM_Escape)
{
+ StopTextInput();
+
setTypeNameValues(name, pos, FALSE);
active = FALSE;
@@
-4275,8
+4279,6
@@
static void HandleTypeNameExt(boolean initialize, Key key)
if (!active)
{
- StopTextInput();
-
SetGameStatus(game_status_last_screen);
if (game_status == GAME_MODE_MAIN)