Skip to content

Commit

Permalink
Clear runname and modelprefix on file change
Browse files Browse the repository at this point in the history
  • Loading branch information
Scriptbash committed Jul 14, 2022
1 parent 87542ab commit 246511b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qraven/qraven.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 246511b

Please sign in to comment.