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

Koji Yokota <[email protected]>
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit 52b54be24c95bae41801144ffd2223aa049437b7
Author: Koji Yokota <[email protected]>
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
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.