KFM2 bugsfix: unselect files after delete and move operations
git-svn-id: svn://kolibrios.org@8995 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
5f1af2011f
commit
27a31fa094
@ -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;
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user