Control gains with space or numeric entry

This commit is contained in:
Charles J. Cliffe
2016-02-07 22:19:05 -05:00
parent 96d22ee8f7
commit 8737728cf9
7 changed files with 66 additions and 24 deletions
+3
View File
@@ -132,6 +132,9 @@ void GainCanvas::OnMouseMoved(wxMouseEvent& event) {
int i = 0;
for (std::vector<GainInfo *>::iterator gi = gainInfo.begin(); gi != gainInfo.end(); gi++) {
(*gi)->highlightPanel.visible = (i==panelHit);
if (i==panelHit) {
wxGetApp().setActiveGainEntry((*gi)->name);
}
i++;
}