commit ebddbcb805ab603287267cfd684c75d85e72a41d parent e3b7239d195eca38efd9407882a07bd294068b80 Author: Neil Booth <kyuupichan@gmail.com> Date: Thu, 3 Sep 2015 17:17:46 +0900 Fix bug. Diffstat:
M | plugins/exchange_rate.py | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py @@ -323,8 +323,9 @@ class Plugin(BasePlugin): else: return - for window in self.gui.windows: - window.need_update.set() + if self.gui: + for window in self.gui.windows: + window.need_update.set() def requires_settings(self): return True