Skip to content

Commit 6de6453

Browse files
author
Amir Ali
authored
Update context_menu_creators.py
1 parent 3152247 commit 6de6453

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build/gui/context_menu_creators.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ def create_entry_menu(widget : Entry, excel_var, is_file_entry : bool=True,is_ou
6565
menu.add_command(label='Browse',command=lambda : browse_files(widget, not is_output_file_entry),accelerator='Ctrl+B')
6666
if is_output_file_entry:
6767
menu.add_separator()
68-
menu.add_radiobutton(label='Excel',variable=excel_var,value=True,command=CommandsObjects.csv_excel_switch_functions.show_only_excel_required_widgets)
69-
menu.add_radiobutton(label='CSV',variable=excel_var,value=False,command=CommandsObjects.csv_excel_switch_functions.hide_only_excel_required_widgets)
70-
return menu
68+
menu.add_radiobutton(label='Excel',variable=excel_var,value=True,
69+
command=CommandsObjects.csv_excel_switch_functions.show_only_excel_required_widgets)
70+
71+
menu.add_radiobutton(label='CSV',variable=excel_var,value=False,
72+
command=CommandsObjects.csv_excel_switch_functions.hide_only_excel_required_widgets)
73+
return menu

0 commit comments

Comments
 (0)