generated from brennen/python_project
cleanup some formatting and some stuff I accidentally left in
This commit is contained in:
@@ -43,9 +43,8 @@ def handle_action_exceptions(func: Callable):
|
|||||||
|
|
||||||
@handle_action_exceptions
|
@handle_action_exceptions
|
||||||
def open_preview(event: tk.Event):
|
def open_preview(event: tk.Event):
|
||||||
globals()["ev"] = event
|
file = filedialog.askopenfilename(
|
||||||
file=filedialog.askopenfilename(
|
parent=event.widget.master,
|
||||||
#parent=event.widget.master,
|
|
||||||
title="Open Image",
|
title="Open Image",
|
||||||
initialdir=Path.home(),
|
initialdir=Path.home(),
|
||||||
filetypes=[
|
filetypes=[
|
||||||
|
|||||||
Reference in New Issue
Block a user