mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-22 11:49:38 -05:00
Missing freq assignment
This commit is contained in:
parent
cae1855fc5
commit
5977fb144b
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user