Skip to content

Commit 6aaabd4

Browse files
committed
close when you press ok
1 parent e400645 commit 6aaabd4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

progmgr/dialog.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,13 @@ BOOL CALLBACK NewGroupDlgProc(HWND hWndDlg, UINT message, WPARAM wParam, LPARAM
132132

133133
// Group's ready!
134134
if (CreateGroupWindow(&grp) != NULL)
135+
{
136+
EndDialog(hWndDlg, FALSE);
135137
break;
136-
138+
}
139+
137140
// Failure!
141+
EndDialog(hWndDlg, FALSE);
138142
break;
139143
}
140144

0 commit comments

Comments
 (0)