From a65dc475542ca621f9487b86c719607a713617ad Mon Sep 17 00:00:00 2001 From: Psynosaur Date: Wed, 11 Sep 2019 15:28:08 +0200 Subject: [PATCH] Close all children windows when quiting --- NanoVNASaver/NanoVNASaver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NanoVNASaver/NanoVNASaver.py b/NanoVNASaver/NanoVNASaver.py index 4d7c857..cab36ae 100644 --- a/NanoVNASaver/NanoVNASaver.py +++ b/NanoVNASaver/NanoVNASaver.py @@ -972,10 +972,10 @@ class NanoVNASaver(QtWidgets.QWidget): self.settings.setValue("WindowHeight", self.height()) self.settings.setValue("WindowWidth", self.width()) - self.settings.sync() self.threadpool.waitForDone(2500) a0.accept() + quit() class DisplaySettingsWindow(QtWidgets.QWidget):