Permalink
Browse files

Consume key event for "commit" in start-conversion state (Issue#26)

Thanks Weng Xuetian for suggestion.
  • Loading branch information...
1 parent 48d5cc4 commit d3a7c8810699fadbc452b2c2061d005a970912dc @ueno committed Feb 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 libskk/state.vala
View
2 libskk/state.vala
@@ -443,7 +443,7 @@ namespace Skk {
retval = state.recursive_edit_end (state.output.str);
}
state.reset ();
- return retval;
+ return command == "commit" ? true : retval;
} else if (command == "start-preedit" ||
command == "start-preedit-kana") {
string? text;

0 comments on commit d3a7c88

Please sign in to comment.