mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
Merge branch 'window-position' into merged
This commit is contained in:
commit
413e5b9cc4
2 changed files with 3 additions and 3 deletions
|
@ -256,8 +256,8 @@ class MiniWindow(QDialog):
|
|||
def closeEvent(self, event):
|
||||
cfg = SimpleConfig()
|
||||
g = self.geometry()
|
||||
cfg.config["winpos-lite"] = [g.left(),g.top(),g.width(),g.height()]
|
||||
cfg.config["history"] = self.history_list.isVisible()
|
||||
cfg.set_key("winpos-lite", [g.left(),g.top(),g.width(),g.height()])
|
||||
cfg.set_key("history", self.history_list.isVisible())
|
||||
cfg.save_config()
|
||||
|
||||
super(MiniWindow, self).closeEvent(event)
|
||||
|
|
|
@ -1462,7 +1462,7 @@ class ElectrumWindow(QMainWindow):
|
|||
def closeEvent(self, event):
|
||||
cfg = SimpleConfig()
|
||||
g = self.geometry()
|
||||
cfg.config["winpos-qt"] = [g.left(),g.top(),g.width(),g.height()]
|
||||
cfg.set_key("winpos-qt", [g.left(),g.top(),g.width(),g.height()])
|
||||
cfg.save_config()
|
||||
event.accept()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue