From 8d5a98295fd5e920c31bc86c644db37423870300 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Wed, 9 Oct 2013 23:42:19 +0000 Subject: [PATCH] Box_Lib/Filebrowser - hide selection if empty. git-svn-id: svn://kolibrios.org@4000 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/box_lib/trunk/filebrowser.mac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/develop/libraries/box_lib/trunk/filebrowser.mac b/programs/develop/libraries/box_lib/trunk/filebrowser.mac index 566fcebaa1..3ffb3f7ba4 100644 --- a/programs/develop/libraries/box_lib/trunk/filebrowser.mac +++ b/programs/develop/libraries/box_lib/trunk/filebrowser.mac @@ -165,6 +165,9 @@ fb_calc_max_panel_line: fb_draw_panel_selection: cmp fb_all_redraw,2 je .end + mov eax,fb_folder_block + test eax,eax + jz .end xor eax,eax cmp fb_select_panel_counter,eax je .end