@@ -82,7 +82,7 @@ def close_and_quit(self) -> None:
8282
8383 def create_option1_widgets (self ) -> None :
8484 # Option 1 - Create a new vehicle configuration directory based on an existing template
85- option1_label = ttk .Label (text = _ ("New vehicle" ), style = "Bold.TLabel" )
85+ option1_label = ttk .Label (self . main_frame , text = _ ("New vehicle" ), style = "Bold.TLabel" )
8686 option1_label_frame = ttk .LabelFrame (self .main_frame , labelwidget = option1_label )
8787 option1_label_frame .pack (expand = True , fill = tk .X , padx = 6 , pady = 6 )
8888
@@ -112,7 +112,7 @@ def on_bin_log_selected(bin_file: str) -> None:
112112
113113 def create_option2_widgets (self , initial_dir : str ) -> None :
114114 # Option 2 - Use an existing vehicle configuration directory
115- option2_label = ttk .Label (text = _ ("Open vehicle" ), style = "Bold.TLabel" )
115+ option2_label = ttk .Label (self . main_frame , text = _ ("Open vehicle" ), style = "Bold.TLabel" )
116116 option2_label_frame = ttk .LabelFrame (self .main_frame , labelwidget = option2_label )
117117 option2_label_frame .pack (expand = True , fill = tk .X , padx = 6 , pady = 6 )
118118 option2_label = ttk .Label (
@@ -140,7 +140,7 @@ def on_vehicle_directory_selected(directory: str) -> None:
140140
141141 def create_option3_widgets (self ) -> None :
142142 # Option 3 - Open the last used vehicle configuration directory
143- option3_label = ttk .Label (text = _ ("Re-Open vehicle" ), style = "Bold.TLabel" )
143+ option3_label = ttk .Label (self . main_frame , text = _ ("Re-Open vehicle" ), style = "Bold.TLabel" )
144144 option3_label_frame = ttk .LabelFrame (self .main_frame , labelwidget = option3_label )
145145 option3_label_frame .pack (expand = True , fill = tk .X , padx = 6 , pady = 6 )
146146
0 commit comments