From 246511b7a7864775bcd4c6291bdb342d1774e61f Mon Sep 17 00:00:00 2001 From: scriptbash <98601298+Scriptbash@users.noreply.github.com> Date: Thu, 14 Jul 2022 11:08:54 -0400 Subject: [PATCH] Clear runname and modelprefix on file change --- qraven/qraven.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qraven/qraven.py b/qraven/qraven.py index c24b10b..7e30b00 100644 --- a/qraven/qraven.py +++ b/qraven/qraven.py @@ -2145,6 +2145,8 @@ def generateGridWeights(self): #This method opens the rvi file from the input directory and gets two values to populate them in the GUI def setModelname(self): inputdir = self.dlg.file_runinputdir.filePath() #Get the model input directory + self.dlg.txt_runnameprefix.clear() + self.dlg.txt_runrunname.clear() try: if inputdir: for file in os.listdir(inputdir): #Lists all the files in the input folder