Commit 6951f26f authored by Claes Sjofors's avatar Claes Sjofors

Ge bugfix for input of key pad keys without numlock

parent d4b8aa3f
...@@ -9483,7 +9483,7 @@ int GePopupMenu::action( grow_tObject object, glow_tEvent event) ...@@ -9483,7 +9483,7 @@ int GePopupMenu::action( grow_tObject object, glow_tEvent event)
strcpy( filter, "$Object-HelpClassFilter"); strcpy( filter, "$Object-HelpClassFilter");
break; break;
default: default:
; return 1;
} }
if ( dyn->graph->call_method_cb) { if ( dyn->graph->call_method_cb) {
......
...@@ -628,7 +628,7 @@ int GlowDrawGtk::event_handler( GdkEvent event) ...@@ -628,7 +628,7 @@ int GlowDrawGtk::event_handler( GdkEvent event)
if ( buff >= 0x020) if ( buff >= 0x020)
sts = ctx->event_handler( glow_eEvent_Key_Ascii, 0, 0, (int)buff, 0); sts = ctx->event_handler( glow_eEvent_Key_Ascii, 0, 0, (int)buff, 0);
else { else if ( buff > 0) {
sts = ctx->event_handler( glow_eEvent_Key_CtrlAscii, 0, 0, (int)buff, 0); sts = ctx->event_handler( glow_eEvent_Key_CtrlAscii, 0, 0, (int)buff, 0);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment