forked from KolibriOS/kolibrios
OpenDialog - not process the file path if the directory consisting zero amount of files.
git-svn-id: svn://kolibrios.org@3983 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
818a0e4636
commit
2ccb0295c9
@ -658,6 +658,11 @@ button:
|
|||||||
jmp still
|
jmp still
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
.open_dir_or_file:
|
.open_dir_or_file:
|
||||||
|
mov eax,[file_browser_data_1.folder_data]
|
||||||
|
mov eax,[eax+4]
|
||||||
|
test eax,eax
|
||||||
|
jz button.exit
|
||||||
|
|
||||||
cmp [open_dialog_type],2 ;Select dir
|
cmp [open_dialog_type],2 ;Select dir
|
||||||
je file_no_folder
|
je file_no_folder
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user