diff options
author | Juan Linietsky <red@kyoko> | 2015-07-24 14:18:02 -0300 |
---|---|---|
committer | Juan Linietsky <red@kyoko> | 2015-07-24 14:18:02 -0300 |
commit | d50ebbb441cd6e1d2227d26cc168e76c7bff2b62 (patch) | |
tree | 2e8b6276834b84835baa0984327964179f7179e9 /scene/gui | |
parent | 257dba9a4a545a3e2ff7da3dab348899245fd998 (diff) |
-added icons for root node types on tabs
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/tabs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Texture> icon; if (tabs[i].icon.is_valid()) { - Ref<Texture> icon = tabs[i].icon; + icon = tabs[i].icon; if (icon.is_valid()) { lsize+=icon->get_width(); if (s!="") |