~cherojeong/ubuntu-keyboard/korean-layout

« back to all changes in this revision

Viewing changes to plugins/ko/qml/keys/HCharKey.qml

  • Committer: Chero Jeong
  • Date: 2016-04-20 04:26:02 UTC
  • Revision ID: cherojeong@gmail.com-20160420042602-7spcnfmnr7360mxp
Fix that candidate word can not be removed

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
                if (switchBackFromSymbols && panel.state === "SYMBOLS") {
251
251
                    panel.state = "CHARACTERS";
252
252
                }
253
 
                if (panel.state === "CHARACTERS") {
 
253
 
254
254
 
255
255
                    if (!Parser.is_jamo(keyToSend)){
256
256
                        maliit_input_method.preedit = preedit + keyToSend;
266
266
                            maliit_input_method.preedit = m_preedit;
267
267
                        }
268
268
                    }
269
 
                } else {
270
 
                 maliit_input_handler.preedit = preedit + keyToSend;
271
 
                 event_handler.onKeyReleased("", "commit");
272
 
                }
 
269
 
273
270
            } else if (action == "backspace") {
274
271
                // Send release from backspace if we're swiped out since
275
272
                // backspace activates on press and deactivates on release