Do not enable tools actions for folders
This commit is contained in:
parent
59646ad060
commit
875ac6a7ee
@ -336,7 +336,9 @@ action_check (ToolAction *action,
|
||||
|
||||
while (files)
|
||||
{
|
||||
if (!action_check_one (action, files->data))
|
||||
MooFile *f = files->data;
|
||||
|
||||
if (!MOO_FILE_EXISTS (f) || MOO_FILE_IS_DIR (f) || !action_check_one (action, f))
|
||||
{
|
||||
visible = FALSE;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user