From ebee9e4ff351c4b80b66d4ed7f135289ddc9d123 Mon Sep 17 00:00:00 2001 From: Brian G Date: Thu, 19 Jul 2018 19:37:40 -0500 Subject: [PATCH] Retain and restore last manual correlation path in Sparse to SIT dialog --- qtmain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qtmain.py b/qtmain.py index 0a1d091..c5074ee 100644 --- a/qtmain.py +++ b/qtmain.py @@ -147,6 +147,7 @@ def initGUI(self): def installPrefs(self): self.secSummFile.setPathIfExists(self.parent.prefs.get("lastSectionSummaryPath")) self.sparseFile.setPathIfExists(self.parent.prefs.get("lastSparseSplicePath")) + self.manCorrFile.setPathIfExists(self.parent.prefs.get("lastManualCorrelationPath")) geom = self.parent.prefs.get("convertSparseWindowGeometry", None) if geom is not None: self.setGeometry(geom) @@ -154,6 +155,7 @@ def installPrefs(self): def savePrefs(self): self.parent.prefs.set("lastSectionSummaryPath", self.secSummFile.getPath()) self.parent.prefs.set("lastSparseSplicePath", self.sparseFile.getPath()) + self.parent.prefs.set("lastManualCorrelationPath", self.manCorrFile.getPath()) self.parent.prefs.set("convertSparseWindowGeometry", self.geometry()) def convert(self):