File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1711,8 +1711,6 @@ def on_select_labscript_file_clicked(self, checked):
17111711 self .last_opened_labscript_folder = os .path .dirname (labscript_file )
17121712 # Write the file to the lineEdit:
17131713 self .ui .lineEdit_labscript_file .setText (labscript_file )
1714- # Check if the output folder needs to be updated:
1715- self .check_output_folder_update ()
17161714
17171715 def on_edit_labscript_file_clicked (self , checked ):
17181716 # get path to text editor
@@ -1772,7 +1770,8 @@ def on_labscript_file_text_changed(self, text):
17721770 # file is selected:
17731771 self .ui .toolButton_select_shot_output_folder .setEnabled (enabled )
17741772 self .ui .lineEdit_labscript_file .setToolTip (text )
1775- self .previous_default_output_folder = self .get_default_output_folder ()
1773+ # Check if the output folder needs to be updated:
1774+ self .check_output_folder_update ()
17761775
17771776 def on_shot_output_folder_text_changed (self , text ):
17781777 # Blank out the 'reset default output folder' button if the user is
You can’t perform that action at this time.
0 commit comments