diff -ru pinentry-0.7.2/qt/secqlineedit.cpp pinentry-0.7.2.new/qt/secqlineedit.cpp
--- pinentry-0.7.2/qt/secqlineedit.cpp	2004-01-18 19:10:04.000000000 +0100
+++ pinentry-0.7.2.new/qt/secqlineedit.cpp	2006-06-26 18:49:35.000000000 +0200
@@ -536,6 +536,7 @@
 {
     d->echoMode = mode;
     d->updateTextLayout();
+    setInputMethodEnabled (mode == Normal);
     update();
 }
 
