Skip to content

Commit 152b52c

Browse files
committed
reset resize params
1 parent 0a85022 commit 152b52c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/gui.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ struct GUI
13801380
mainWindow.addOnKeyRelease(toDelegate(&onKeyRelease)); // Key release
13811381
mainWindow.addOnKeyPress(toDelegate(&onKeyPress)); // Key press
13821382

1383-
mnuResize.addOnButtonPress((Event e, Widget w){ btnResize.setSensitive = true; wndResize.showAll(); return true; }); // Resize images
1383+
mnuResize.addOnButtonPress((Event e, Widget w){ btnResize.setSensitive = true; fileImagesDir.setCurrentName(""); pbResize.setFraction(0); wndResize.showAll(); return true; }); // Resize images
13841384
mnuOpen.addOnButtonPress((Event e, Widget w){ actionOpenDir(); return true; }); // Open a directory
13851385
mnuReload.addOnButtonPress((Event e, Widget w){ reloadDirectory(); return true; }); // Reload the current directory
13861386

0 commit comments

Comments
 (0)