diff --git a/src/Macrobot/record.cpp b/src/Macrobot/record.cpp index 95a65ee..e6578f3 100644 --- a/src/Macrobot/record.cpp +++ b/src/Macrobot/record.cpp @@ -658,7 +658,7 @@ void Record::renderWindow() recorder.m_recording = false; } - if (GUI::button("Stop Audio") && !Record::recorder.m_recording_audio && Common::getBGL()) + if (GUI::button("Stop Audio") && Record::recorder.m_recording_audio && Common::getBGL()) { recorder.m_recording_audio = false; AudioRecord::stop();