mirror of
https://github.com/frosch95/SmartCSV.fx.git
synced 2026-04-11 13:38:23 +02:00
clear script cache before revalidation, otherwise a script change in the edit dialog does not work
This commit is contained in:
@@ -114,6 +114,7 @@ public class CSVModel {
|
|||||||
|
|
||||||
if (!hasValidator()) return;
|
if (!hasValidator()) return;
|
||||||
|
|
||||||
|
validator.clearScriptCache();
|
||||||
revalidationService.setHeader(header);
|
revalidationService.setHeader(header);
|
||||||
revalidationService.setRows(rows);
|
revalidationService.setRows(rows);
|
||||||
revalidationService.setValidator(validator);
|
revalidationService.setValidator(validator);
|
||||||
|
|||||||
@@ -252,4 +252,8 @@ public class Validator {
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void clearScriptCache() {
|
||||||
|
scriptCache.clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user