tFix the recursion issue on OSX - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 56b85914cf1e7357de824fcbef0a4de702560a47 DIR parent 8f5d48584de720bd484fbe69b395e3e2de45af09 HTML Author: Maran <maran.hidskes@gmail.com> Date: Mon, 23 Jul 2012 20:43:31 +0200 Fix the recursion issue on OSX Diffstat: M lib/gui_lite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/gui_lite.py b/lib/gui_lite.py t@@ -386,14 +386,14 @@ class TextedLineEdit(QLineEdit): QLineEdit.focusInEvent(self, event) def become_inactive(self): - self.setText(self.inactive_text) self.setReadOnly(True) self.recompute_style() + self.setText(self.inactive_text) def become_active(self): - self.setText("") self.setReadOnly(False) self.recompute_style() + self.setText("") def recompute_style(self): qApp.style().unpolish(self)