Fix _quick_run method (Play custom scene)

This commit is contained in:
Ignacio Etcheverry 2016-02-17 19:40:06 +01:00
parent 4df8b7b02f
commit d8f06085a2
2 changed files with 3 additions and 3 deletions

View file

@ -3843,9 +3843,9 @@ void EditorNode::_quick_opened() {
} }
} }
void EditorNode::_quick_run(const String& p_resource) { void EditorNode::_quick_run() {
_run(false,p_resource); _run(false,quick_run->get_selected());
} }

View file

@ -447,7 +447,7 @@ class EditorNode : public Node {
void _hide_top_editors(); void _hide_top_editors();
void _quick_opened(); void _quick_opened();
void _quick_run(const String& p_resource); void _quick_run();
void _run(bool p_current=false, const String &p_custom=""); void _run(bool p_current=false, const String &p_custom="");