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
|
||||
def open_preview(event: tk.Event):
|
||||
globals()["ev"] = event
|
||||
file=filedialog.askopenfilename(
|
||||
#parent=event.widget.master,
|
||||
file = filedialog.askopenfilename(
|
||||
parent=event.widget.master,
|
||||
title="Open Image",
|
||||
initialdir=Path.home(),
|
||||
filetypes=[
|
||||
|
||||
Reference in New Issue
Block a user