Browse Source

Use self.close instead of sys.exit (self.close() is the proper Qt method :)

283
Amir Taaki 13 years ago
parent
commit
943bcd0c84
  1. 5
      lib/gui_lite.py

5
lib/gui_lite.py

@ -180,7 +180,7 @@ class MiniWindow(QDialog):
brain_seed = electrum_menu.addAction(_("&BrainWallet Info"))
brain_seed.triggered.connect(self.actuator.show_seed_dialog)
quit_option = electrum_menu.addAction(_("&Quit"))
quit_option.triggered.connect(self.actuator.quit)
quit_option.triggered.connect(self.close)
view_menu = menubar.addMenu(_("&View"))
expert_gui = view_menu.addAction(_("&Pro Mode"))
@ -613,9 +613,6 @@ class MiniActuator:
def show_seed_dialog(self):
gui_qt.ElectrumWindow.show_seed_dialog(self.wallet)
def quit(self):
sys.exit(0)
class MiniDriver(QObject):
INITIALIZING = 0

Loading…
Cancel
Save