Fixed a minor bug
This commit is contained in:
@@ -795,6 +795,8 @@ class MainWindow(TkinterDnD.Tk):
|
|||||||
if str(widget.cget('state')) != 'normal':
|
if str(widget.cget('state')) != 'normal':
|
||||||
# Manual typing and widget not enabled
|
# Manual typing and widget not enabled
|
||||||
widget.configure(state=tk.NORMAL)
|
widget.configure(state=tk.NORMAL)
|
||||||
|
if '/' in str(var.get()):
|
||||||
|
var.set(var.get().split('/')[0])
|
||||||
continue
|
continue
|
||||||
elif stacked_selectable:
|
elif stacked_selectable:
|
||||||
if instrumental_selectable:
|
if instrumental_selectable:
|
||||||
|
|||||||
Reference in New Issue
Block a user