Browse Source

[ide] Fixed renaming erasing all sources in modified prefabs

Clément Espeute 11 tháng trước cách đây
mục cha
commit
70caedcf67
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hide/Ide.hx

+ 1 - 1
hide/Ide.hx

@@ -1555,7 +1555,7 @@ class FilterPathContext {
 		this.valueCurrent = valueCurrent;
 		valueChanged = null;
 		filterFn(this);
-		return valueChanged;
+		return changed ? valueChanged : valueCurrent;
 	}
 
 	public var getRef : () -> {str: String, ?goto: () -> Void};