diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 65ff8c05c1..21ebcf5a93 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -8,9 +8,9 @@ TODO: - 70.5 - get volume info and label */ -#define ABOUT_TITLE "EOLITE 5 Gold" -#define TITLE_EOLITE "Eolite File Manager 5 Gold" -#define TITLE_KFM "Kolibri File Manager 2 Gold"; +#define ABOUT_TITLE "EOLITE 5.01 Gold" +#define TITLE_EOLITE "Eolite File Manager 5.01 Gold" +#define TITLE_KFM "Kolibri File Manager 2.01 Gold"; #define MEMSIZE 1024 * 250 #include "../lib/clipboard.h" @@ -1066,7 +1066,7 @@ void EventPopinClickOkay() break; case POPIN_DELETE: CopyFilesListToClipboard(DELETE); - EventClosePopinForm(); + EventChooseAllFiles(false); sprintf(#param, "-d %s", #file_path); RunProgram(#program_path, #param); break; @@ -1175,6 +1175,7 @@ void FnProcess(byte N) case 6: if (efm) { CopyFilesListToClipboard(CUT); + EventChooseAllFiles(false); EventPaste(location[active_panel^1]); } break; diff --git a/programs/cmm/eolite/include/copy_and_delete.h b/programs/cmm/eolite/include/copy_and_delete.h index f8e97f70e2..1be55cdbd4 100644 --- a/programs/cmm/eolite/include/copy_and_delete.h +++ b/programs/cmm/eolite/include/copy_and_delete.h @@ -26,8 +26,7 @@ void setElementSelectedFlag(dword n, int state) { selected1.set(n, state); } if (state==true) selected_count[active_panel]++; - if (state==false) selected_count[active_panel]--; - //if (selected_count[active_panel]<0) selected_count[active_panel]=0; + if (state==false) && (selected_count[active_panel]>0) selected_count[active_panel]--; } int getElementSelectedFlag(dword n) {