From d50ebbb441cd6e1d2227d26cc168e76c7bff2b62 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 24 Jul 2015 14:18:02 -0300 Subject: -added icons for root node types on tabs --- scene/gui/tabs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/gui') diff --git a/scene/gui/tabs.cpp b/scene/gui/tabs.cpp index 40a6e20c37..9c59547cba 100644 --- a/scene/gui/tabs.cpp +++ b/scene/gui/tabs.cpp @@ -142,7 +142,7 @@ void Tabs::_notification(int p_what) { Ref icon; if (tabs[i].icon.is_valid()) { - Ref icon = tabs[i].icon; + icon = tabs[i].icon; if (icon.is_valid()) { lsize+=icon->get_width(); if (s!="") -- cgit v1.2.3