Skip to content

Commit 4901043

Browse files
fix(shell): also close window for onecommander
1 parent f2ecea2 commit 4901043

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shell/contextmenu/hooks.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ void mb_shell::context_menu_hooks::install_SHCreateDefaultContextMenu_hook() {
153153
if (res && should_close) {
154154
close_next_create_window_exw_window = false;
155155
PostMessageW(res, WM_CLOSE, 0, 0);
156+
CloseWindow(res);
156157
}
157158
return res;
158159
});

0 commit comments

Comments
 (0)