|
@@ -860,6 +860,7 @@ void laset_ManagedSavePage(laManagedSaveExtra* mse, int p){
|
|
void OPEXT_ManagedSave(laOperator *a, laEvent *e){
|
|
void OPEXT_ManagedSave(laOperator *a, laEvent *e){
|
|
laManagedSaveExtra *upe = a->CustomData;
|
|
laManagedSaveExtra *upe = a->CustomData;
|
|
memFree(upe);
|
|
memFree(upe);
|
|
|
|
+ MAIN.SetUDFPending=0;
|
|
}
|
|
}
|
|
int OPINV_ManagedSave(laOperator *a, laEvent *e){
|
|
int OPINV_ManagedSave(laOperator *a, laEvent *e){
|
|
int OnExit=0;
|
|
int OnExit=0;
|
|
@@ -914,7 +915,7 @@ int OPMOD_ManagedSaveNewFile(laOperator *a, laEvent *e){
|
|
char* path=a->ConfirmData->StrData;
|
|
char* path=a->ConfirmData->StrData;
|
|
if(la_FindManagedUDF(path)){
|
|
if(la_FindManagedUDF(path)){
|
|
laEnableMessagePanel(a, 0, "Duplicated files", "The file you chose already exists in the managed file list.",e->x,e->y,0,e);
|
|
laEnableMessagePanel(a, 0, "Duplicated files", "The file you chose already exists in the managed file list.",e->x,e->y,0,e);
|
|
- return LA_FINISHED;
|
|
|
|
|
|
+ return LA_RUNNING;
|
|
}
|
|
}
|
|
laManagedUDF* m=MAIN.DummyManageUDF;
|
|
laManagedUDF* m=MAIN.DummyManageUDF;
|
|
m->udf = laPrepareUDF(path); strSafeSet(&m->BaseName, strGetLastSegment(path,LA_PATH_SEP));
|
|
m->udf = laPrepareUDF(path); strSafeSet(&m->BaseName, strGetLastSegment(path,LA_PATH_SEP));
|