|
@ -256,8 +256,8 @@ class MiniWindow(QDialog): |
|
|
def closeEvent(self, event): |
|
|
def closeEvent(self, event): |
|
|
cfg = SimpleConfig() |
|
|
cfg = SimpleConfig() |
|
|
g = self.geometry() |
|
|
g = self.geometry() |
|
|
cfg.config["winpos-lite"] = [g.left(),g.top(),g.width(),g.height()] |
|
|
cfg.set_key("winpos-lite", [g.left(),g.top(),g.width(),g.height()]) |
|
|
cfg.config["history"] = self.history_list.isVisible() |
|
|
cfg.set_key("history", self.history_list.isVisible()) |
|
|
cfg.save_config() |
|
|
cfg.save_config() |
|
|
|
|
|
|
|
|
super(MiniWindow, self).closeEvent(event) |
|
|
super(MiniWindow, self).closeEvent(event) |
|
|