From 77d7eaefad70de134bb3bb4491fa7a224b566433 Mon Sep 17 00:00:00 2001 From: William JCM Date: Wed, 23 Feb 2022 10:18:58 +0100 Subject: [PATCH] SaveTool: fix a condition. --- src/SaveTool/SaveTool_MassViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SaveTool/SaveTool_MassViewer.cpp b/src/SaveTool/SaveTool_MassViewer.cpp index 7dba4e1..2bd8730 100644 --- a/src/SaveTool/SaveTool_MassViewer.cpp +++ b/src/SaveTool/SaveTool_MassViewer.cpp @@ -133,7 +133,7 @@ void SaveTool::drawMassViewer() { ImGui::EndTabItem(); } - if(!_currentMass->globalStyles().size() != 0 && ImGui::BeginTabItem("Global styles")) { + if(_currentMass->globalStyles().size() != 0 && ImGui::BeginTabItem("Global styles")) { drawGlobalStyles(); ImGui::EndTabItem(); }