From 22b903fdcfc5a2271cfd5f81109d8f10356b136a Mon Sep 17 00:00:00 2001 From: Al Poole Date: Sun, 29 Oct 2017 09:54:11 +0000 Subject: [PATCH] Revert "edi_filepanel: if file is deleted close item in view." This reverts commit 2e10b48162090a806124328ebd273cbd0d5cb191. --- src/bin/edi_filepanel.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/bin/edi_filepanel.c b/src/bin/edi_filepanel.c index b676714..64a838d 100644 --- a/src/bin/edi_filepanel.c +++ b/src/bin/edi_filepanel.c @@ -958,15 +958,9 @@ _file_listing_updated(void *data EINA_UNUSED, int type EINA_UNUSED, parent_it = _file_listing_item_find(dir); if (type == EIO_MONITOR_FILE_CREATED) - { - _file_listing_item_insert(ev->filename, EINA_FALSE, parent_it); - } + _file_listing_item_insert(ev->filename, EINA_FALSE, parent_it); else if (type == EIO_MONITOR_FILE_DELETED) - { - _file_listing_item_delete(ev->filename); - edi_mainview_item_close_path(ev->filename); - } - + _file_listing_item_delete(ev->filename); if (type == EIO_MONITOR_DIRECTORY_CREATED) _file_listing_item_insert(ev->filename, EINA_TRUE, parent_it); else if (type == EIO_MONITOR_DIRECTORY_DELETED)