Skip to content

Commit 246511b

Browse files
committed
Clear runname and modelprefix on file change
1 parent 87542ab commit 246511b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

qraven/qraven.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,6 +2145,8 @@ def generateGridWeights(self):
21452145
#This method opens the rvi file from the input directory and gets two values to populate them in the GUI
21462146
def setModelname(self):
21472147
inputdir = self.dlg.file_runinputdir.filePath() #Get the model input directory
2148+
self.dlg.txt_runnameprefix.clear()
2149+
self.dlg.txt_runrunname.clear()
21482150
try:
21492151
if inputdir:
21502152
for file in os.listdir(inputdir): #Lists all the files in the input folder

0 commit comments

Comments
 (0)