From c1028b9011693f9e40f32bfcd45f33b1efedce9a Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 4 Jun 2016 21:45:50 -0300 Subject: [PATCH] fix for travis --- scene/gui/popup_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp index 4c69584f4ae..b3f18bf8fa0 100644 --- a/scene/gui/popup_menu.cpp +++ b/scene/gui/popup_menu.cpp @@ -771,7 +771,7 @@ String PopupMenu::get_item_tooltip(int p_idx) const { Ref PopupMenu::get_item_shortcut(int p_idx) const { - ERR_FAIL_INDEX_V(p_idx,items.size(),""); + ERR_FAIL_INDEX_V(p_idx,items.size(),Ref()); return items[p_idx].shortcut; }