Missing freq assignment

This commit is contained in:
Charles J. Cliffe 2014-11-23 20:02:48 -05:00
parent cae1855fc5
commit 5977fb144b
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ void ScopeCanvas::OnKeyDown(wxKeyEvent& event) {
wxGetApp().setFrequency(freq);
break;
case WXK_LEFT:
wxGetApp().getFrequency();
freq = wxGetApp().getFrequency();
freq -= 100000;
wxGetApp().setFrequency(freq);
break;

View File

@ -65,7 +65,7 @@ void WaterfallCanvas::OnKeyDown(wxKeyEvent& event) {
wxGetApp().setFrequency(freq);
break;
case WXK_LEFT:
wxGetApp().getFrequency();
freq = wxGetApp().getFrequency();
freq -= 100000;
wxGetApp().setFrequency(freq);
break;