[LyX/master] Fix #13325 (IM can be enabled in math)

Koji Yokota yokota at lyx.org
Sat Aug 8 15:54:48 UTC 2026


commit 52b54be24c95bae41801144ffd2223aa049437b7
Author: Koji Yokota <yokota at lyx.org>
Date:   Sun Aug 9 00:53:29 2026 +0900

    Fix #13325 (IM can be enabled in math)
    
    Please report if it doesn't fix.
---
 src/frontends/qt/GuiInputMethod.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/frontends/qt/GuiInputMethod.cpp b/src/frontends/qt/GuiInputMethod.cpp
index 01f7cc06ab..1f161ebc30 100644
--- a/src/frontends/qt/GuiInputMethod.cpp
+++ b/src/frontends/qt/GuiInputMethod.cpp
@@ -1008,6 +1008,7 @@ QVariant GuiInputMethod::inputMethodQuery(Qt::InputMethodQuery query)
 	switch (query) {
 	// The widget accepts input method input
 	case Qt::ImEnabled: {
+		toggleInputMethodAcceptance();
 		if (d->im_state_.enabled_)
 			LYXERR(Debug::KEY, msg << "\"true\"");
 		else


More information about the lyx-cvs mailing list