Skip to content

Commit

Permalink
fix intvar initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaker authored Jan 11, 2023
1 parent 644faa3 commit 11e08f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modalWindows.py
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ def __init__(self, master=None,controller=None,initialValue='',videoDuration=0,
self.entryTimestamps.grid(row=1,column=0,sticky='new',padx=5,pady=5)
self.varTimestamps.trace('w',self.valueUpdated)

self.varnegativeTS = tk.IntVar(0)
self.varnegativeTS = tk.IntVar(self,0)
self.checknegativeTS = ttk.Checkbutton(self,text='Interpret as negative timestamps from end of clip.',var=self.varnegativeTS)
self.checknegativeTS.grid(row=2,column=0,sticky='new',padx=5,pady=5)
self.varnegativeTS.trace('w',self.valueUpdated)
Expand Down Expand Up @@ -2536,4 +2536,4 @@ def valueChanged(self,valueKey):

if __name__ == "__main__":
app = AdvancedEncodeFlagsModal()
app.mainloop()
app.mainloop()

0 comments on commit 11e08f6

Please sign in to comment.