git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@833 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-12-01 18:30:11 +00:00
parent 01416857b5
commit 09325acb6c

View File

@@ -130,7 +130,7 @@ static void okay_activate(MwWidget handle, void* user, void* call) {
MwWidget msgbox = MwMessageBox(handle->parent, "File is not permitted here!", "Error", MwMB_ICONERROR | MwMB_BUTTONOK);
MwAddUserHandler(MwMessageBoxGetChild(msgbox, MwMB_BUTTONOK), MwNactivateHandler, msgbox_okay, NULL);
} else {
MwDispatchUserHandler(handle->parent, MwNfileChosenHandler, p);
MwDispatchUserHandler(handle->parent, fc->dir_only ? MwNdirectoryChosenHandler : MwNfileChosenHandler, p);
okay(fc->okay, NULL, NULL);
}