Skip to content

Commit

Permalink
[79_2] Enable IM preedit on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Jun 20, 2024
1 parent f350ce5 commit 71250a8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Plugins/Qt/QTMWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,8 @@ QTMWidget::inputMethodEvent (QInputMethodEvent* event) {
if (DEBUG_QT)
debug_qt << "IM preediting :" << preedit_string.toUtf8 ().data () << LF;

bool im_preedit_switch= false;
if (os_win () || os_macos ()) {
im_preedit_switch= true;
}
string im_preedit_str= get_preference ("IM:preedit");
bool im_preedit_switch= true;
string im_preedit_str = get_preference ("IM:preedit");
if (im_preedit_str == "off") {
im_preedit_switch= false;
}
Expand Down

0 comments on commit 71250a8

Please sign in to comment.