From 4169489865912041fafa5644a2f48fb9c8769b6d Mon Sep 17 00:00:00 2001 From: Joel16 Date: Thu, 30 Dec 2021 13:26:43 -0500 Subject: [PATCH] gui: Disable loadouts tab instead of just hiding it --- source/gui.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/gui.cpp b/source/gui.cpp index dac00af..6c7af9f 100644 --- a/source/gui.cpp +++ b/source/gui.cpp @@ -479,7 +479,9 @@ namespace GUI { if (ImGui::Begin("VITA Homebrew Sorter", nullptr, ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoCollapse)) { if (ImGui::BeginTabBar("VITA Homebrew Sorter tabs")) { GUI::SortTab(entries, sort, state); - //GUI::LoadoutsTab(loadouts, state, date_format, loadout_name); + GUI::DisableButtonInit(true); + GUI::LoadoutsTab(loadouts, state, date_format, loadout_name); + GUI::DisableButtonExit(true); GUI::AboutTab(); ImGui::EndTabBar(); }