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):
1711
1711
self .last_opened_labscript_folder = os .path .dirname (labscript_file )
1712
1712
# Write the file to the lineEdit:
1713
1713
self .ui .lineEdit_labscript_file .setText (labscript_file )
1714
- # Check if the output folder needs to be updated:
1715
- self .check_output_folder_update ()
1716
1714
1717
1715
def on_edit_labscript_file_clicked (self , checked ):
1718
1716
# get path to text editor
@@ -1772,7 +1770,8 @@ def on_labscript_file_text_changed(self, text):
1772
1770
# file is selected:
1773
1771
self .ui .toolButton_select_shot_output_folder .setEnabled (enabled )
1774
1772
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 ()
1776
1775
1777
1776
def on_shot_output_folder_text_changed (self , text ):
1778
1777
# Blank out the 'reset default output folder' button if the user is
You can’t perform that action at this time.
0 commit comments