Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
victordomingos authored Jun 2, 2017
1 parent 3b1ad85 commit bac1dc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ctt_tracking/callbacks_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ def clear_text(self):
self.oop.text_input_vols.delete(0, END)
self.oop.text_input_rma.delete(0, END)
self.oop.text_input_obs.delete(0, END)
self.oop.combo_expedidor.current(0)
self.oop.combo_expedidor.current(INDEX_EXPEDIDOR_PREDEFINIDO)
except Exception as e:
print("This is a very misterious clear_text() error! But what kind of program would be happy without having some kind of bug like this?...")
print("Exception:", e)
Expand Down
2 changes: 1 addition & 1 deletion ctt_tracking/ctt_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def __init__(self, master):

ttk.Label(self.bottomframe, text="Expedidor").grid(column=0, row=3, sticky=W+E)
self.combo_expedidor = ttk.Combobox(self.bottomframe, width=13, values=(" - Selecionar -",)+EXPEDIDORES, state="readonly")
self.combo_expedidor.current(0)
self.combo_expedidor.current(INDEX_EXPEDIDOR_PREDEFINIDO)
self.combo_expedidor.grid(column=0, row=4, sticky=W+E)
self.combo_expedidor.bind("<<ComboboxSelected>>", self.callBacks.expedir_select)
self.combo_expedidor.bind("<Return>", self.callBacks.add_remessa)
Expand Down

0 comments on commit bac1dc4

Please sign in to comment.