2
0
Эх сурвалжийг харах

Merge pull request #317 from sanikoyes/hotfix-Export-translation

Fix export translation(can't save pot file)
Juan Linietsky 11 жил өмнө
parent
commit
64b01d6ce0

+ 2 - 0
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();