From e4f3ec52d0280c0562beb6293d700920ad03aad8 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 6 Mar 2022 01:23:01 -0600 Subject: [PATCH] [nostalgia/core/studio] Add initialization for SubSheetEditor show var --- src/nostalgia/core/studio/tilesheeteditor-imgui.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/core/studio/tilesheeteditor-imgui.hpp b/src/nostalgia/core/studio/tilesheeteditor-imgui.hpp index 7cc708a4..b53926f2 100644 --- a/src/nostalgia/core/studio/tilesheeteditor-imgui.hpp +++ b/src/nostalgia/core/studio/tilesheeteditor-imgui.hpp @@ -25,7 +25,7 @@ class TileSheetEditorImGui: public studio::Editor { ox::BString<100> m_name; int m_cols = 0; int m_rows = 0; - bool m_show; + bool m_show = false; public: ox::Signal inputSubmitted; constexpr void show(const ox::String &name, int cols, int rows) noexcept {