Changed theme switching, probably fixes #509 as well
[electrum-nvc.git] / gui / qt / main_window.py
index be16ab9..c29290e 100644 (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: