From c6ec9093b7c06e03ce5d11e70e96e3e560e96a04 Mon Sep 17 00:00:00 2001 From: spx Date: Wed, 5 Jun 2013 01:05:02 +0900 Subject: [PATCH] Fixed that !Toggle causes infinite loop --- Library/MeterWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/MeterWindow.cpp b/Library/MeterWindow.cpp index 3c72f175..b841ac42 100644 --- a/Library/MeterWindow.cpp +++ b/Library/MeterWindow.cpp @@ -826,7 +826,7 @@ void MeterWindow::DoBang(Bang bang, const std::vector& args) break; case Bang::Toggle: - DoBang(m_Hidden ? Bang::Show : Bang::Toggle, args); + DoBang(m_Hidden ? Bang::Show : Bang::Hide, args); break; case Bang::ShowFade: