Fix installing export templates from file

3de20641f5 did break installing export
templates from file. This patch is fixing it.
This commit is contained in:
Onur Aslan 2017-12-18 21:08:27 +03:00
parent 8d13753e91
commit 4440900672

View file

@ -555,7 +555,7 @@ ExportTemplateManager::ExportTemplateManager() {
template_open->add_filter("*.tpz ; Godot Export Templates"); template_open->add_filter("*.tpz ; Godot Export Templates");
template_open->set_access(FileDialog::ACCESS_FILESYSTEM); template_open->set_access(FileDialog::ACCESS_FILESYSTEM);
template_open->set_mode(FileDialog::MODE_OPEN_FILE); template_open->set_mode(FileDialog::MODE_OPEN_FILE);
template_open->connect("file_selected", this, "_install_from_file"); template_open->connect("file_selected", this, "_install_from_file", varray(true));
add_child(template_open); add_child(template_open);
set_title(TTR("Export Template Manager")); set_title(TTR("Export Template Manager"));