From 73d2f97274b490ea237fa0ab726f2810c2e40e39 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 22 Mar 2022 01:34:53 -0500 Subject: [PATCH] GUI: fix visualizer option in menu --- src/gui/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index ddb7433d4..ff0d4967e 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -2011,6 +2011,9 @@ bool FurnaceGUI::loop() { if (ImGui::BeginMenu("settings")) { if (ImGui::MenuItem("visualizer",NULL,fancyPattern)) { fancyPattern=!fancyPattern; + e->enableCommandStream(fancyPattern); + e->getCommandStream(cmdStream); + cmdStream.clear(); } if (ImGui::MenuItem("reset layout")) { showWarning("Are you sure you want to reset the workspace layout?",GUI_WARN_RESET_LAYOUT);