mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-09 18:14:06 +09:00
set selected ime to none if previously selected one is not found on the local copy
This commit is contained in:
@@ -843,6 +843,11 @@ public class App implements ApplicationListener {
|
|||||||
tileMaker.invoke(false);
|
tileMaker.invoke(false);
|
||||||
|
|
||||||
IME.invoke();
|
IME.invoke();
|
||||||
|
// check if selected IME is accessible; if not, set selected IME to none
|
||||||
|
String selectedIME = getConfigString("inputmethod");
|
||||||
|
if (!selectedIME.equals("none") && !IME.INSTANCE.getAllHighLayers().contains(selectedIME)) {
|
||||||
|
setConfig("inputmethod", "none");
|
||||||
|
}
|
||||||
|
|
||||||
Terrarum.initialise();
|
Terrarum.initialise();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user