1
0

Changed theme switching, probably fixes #509 as well

This commit is contained in:
Maran
2014-03-13 12:02:55 +01:00
parent bc1deaa6ba
commit f87e482d63
5 changed files with 4 additions and 13 deletions

View File

@@ -221,19 +221,12 @@ class ElectrumWindow(QMainWindow):
actuator = lite_window.MiniActuator(self)
# Should probably not modify the current path but instead
# change the behaviour of rsrc(...)
old_path = QDir.currentPath()
actuator.load_theme()
self.mini = lite_window.MiniWindow(actuator, self.go_full, self.config)
driver = lite_window.MiniDriver(self, self.mini)
# Reset path back to original value now that loading the GUI
# is completed.
QDir.setCurrent(old_path)
if self.config.get('lite_mode') is True:
self.go_lite()
else: