summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-09-17 10:52:34 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-09-17 10:52:34 -0300
commit64b01d6ce04350ad9d0cf36bf489426ff7ccd40c (patch)
tree5e5d811fb455867c18dad1e8c68d75e8881b83b9
parent24b545d6eaec73626662b7a3b9d47cb1908e3b02 (diff)
parentccfeb53005cc6685aad71dbc742b305575c305e3 (diff)
downloadredot-engine-64b01d6ce04350ad9d0cf36bf489426ff7ccd40c.tar.gz
Merge pull request #317 from sanikoyes/hotfix-Export-translation
Fix export translation(can't save pot file)
-rw-r--r--tools/editor/editor_node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index 4e2e5118dd..a137b6cd34 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -1797,6 +1797,8 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
bool relpaths = (scene->has_meta("__editor_relpaths__") && scene->get_meta("__editor_relpaths__").operator bool());
+ file->set_mode(FileDialog::MODE_SAVE_FILE);
+
file->set_current_path(cpath);
file->set_title("Save Translatable Strings");
file->popup_centered_ratio();