@@ -601,7 +601,7 @@ def setup_backend_settings(self, layout: QVBoxLayout):
601601 self .python .setMinimumWidth (75 )
602602 self .python .setPlaceholderText (_t ("backend.python_info" ))
603603 self .python .setToolTip (_t ("backend.python_tooltip" ))
604- self .python .setText ("python" )
604+ self .python .setText (config . python_path )
605605 row .addWidget (self .python , 0 , 1 )
606606
607607 self .select_py_button = QPushButton (_t ("backend.select_py" ))
@@ -731,7 +731,7 @@ def select_python(self):
731731 self .python .setText (file )
732732 QMessageBox .information (self , "OK" , f"Selected a Python interpreter." )
733733 else :
734- self .python .setText ("python" )
734+ self .python .setText (config . python_path )
735735 QMessageBox .warning (
736736 self , "No Python Selected" , "Fallback: built-in python interpreter."
737737 )
@@ -805,7 +805,7 @@ def save_config(self, save_to_file=True):
805805 config .volume = self .volume_slider .value ()
806806 config .font_size = self .text_editor .font_size_spin .value ()
807807 config .font_family = self .text_editor .font_combo .currentText ()
808-
808+ config . python_path = self . python . text ()
809809 save_config ()
810810
811811 # pop up a message box to tell user if they want to save the config to a file
0 commit comments