Strip content that is included in system library

This commit is contained in:
pcvolkmer committed 2023-08-31 16:10:19 +02:00
1 parent 7d6a6ee9b3
commit af4ec8898a
4 files changed
+34

No files matched your search

+18
View File
@@ -172,6 +172,24 @@ impl OnkostarEditor {
});
}
pub fn strip_system_library_content(&mut self) {
self.editor
.property_catalogue
.retain(|e| !e.is_system_library_content());
self.editor
.data_catalogue
.retain(|e| !e.is_system_library_content());
self.editor
.data_form
.retain(|e| !e.is_system_library_content());
self.editor
.unterformular
.retain(|e| !e.is_system_library_content());
}
pub fn print_diff(&mut self, other: &mut Self, strict: bool) {
println!();