diff --git a/frm/events.cpp b/frm/events.cpp index 131c8f9..c04f036 100644 --- a/frm/events.cpp +++ b/frm/events.cpp @@ -358,7 +358,8 @@ void frmMain::OnStatSelChanged(wxListEvent& event) if (id == idstop) break; } - } + } else + break; } if (id == idstop || !id.IsOk()) return;