Browse Source

Make inspector select the correct resource after making them unique

Make inspector select the correct resource after making them unique
DualMatrix 7 years ago
parent
commit
2996c85c46
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/inspector_dock.cpp

+ 1 - 0
editor/inspector_dock.cpp

@@ -104,6 +104,7 @@ void InspectorDock::_menu_option(int p_option) {
 								res = duplicates[res];
 								res = duplicates[res];
 
 
 								current->set(E->get().name, res);
 								current->set(E->get().name, res);
+								editor->get_inspector()->update_property(E->get().name);
 							}
 							}
 						}
 						}
 					}
 					}