Преглед на файлове

CDB: Fix filter not applied anymore after changing ID of a datafile line

lviguier преди 2 месеца
родител
ревизия
23f7258bc3
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      hide/comp/cdb/Editor.hx

+ 3 - 1
hide/comp/cdb/Editor.hx

@@ -517,8 +517,10 @@ class Editor extends Component {
 			}
 		}
 
-		if( prevTarget != null || (prevObj != null && (prevObj.obj != obj || (table.sheet.index != null && table.sheet.index.get(prevValue) != null))) )
+		if( prevTarget != null || (prevObj != null && (prevObj.obj != obj || (table.sheet.index != null && table.sheet.index.get(prevValue) != null))) ) {
 			table.refresh();
+			updateFilters();
+		}
 	}
 
 	function onCopy() {