Removed unused variables, add some constants numbers
This commit is contained in:
parent
6f38aeef52
commit
ed1c4bc77d
41 changed files with 112 additions and 91 deletions
|
|
@ -172,7 +172,7 @@ void ExportTemplateManager::_uninstall_template_confirm() {
|
|||
ERR_FAIL_COND_MSG(err != OK, "Could not remove all templates in '" + templates_dir.plus_file(to_remove) + "'.");
|
||||
|
||||
da->change_dir("..");
|
||||
da->remove(to_remove);
|
||||
err = da->remove(to_remove);
|
||||
ERR_FAIL_COND_MSG(err != OK, "Could not remove templates directory at '" + templates_dir.plus_file(to_remove) + "'.");
|
||||
|
||||
_update_template_list();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue