Procházet zdrojové kódy

Merge pull request #20971 from swarnimarun/new-resource-option

Fix for resource save dialog call
Rémi Verschelde před 7 roky
rodič
revize
b68f186c46
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/filesystem_dock.cpp

@@ -1410,7 +1410,7 @@ void FileSystemDock::_resource_created() const {
 
 	RES current_res = RES(r);
 
-	editor->save_resource_as(current_res);
+	editor->save_resource_as(current_res, path);
 }
 
 void FileSystemDock::_go_to_file_list() {