mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-06 23:27:53 -04:00
Fix enter handling on mac
This commit is contained in:
parent
c5652be141
commit
50f2bb18eb
@ -1171,8 +1171,6 @@ void BookmarkView::onLabelKillFocus(wxFocusEvent &event) {
|
|||||||
|
|
||||||
wxCommandEvent dummyEvt;
|
wxCommandEvent dummyEvt;
|
||||||
onLabelText(dummyEvt);
|
onLabelText(dummyEvt);
|
||||||
|
|
||||||
if (!m_treeView->HasFocus()) { m_treeView->SetFocus(); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BookmarkView::onLabelText( wxCommandEvent& /* event */ ) {
|
void BookmarkView::onLabelText( wxCommandEvent& /* event */ ) {
|
||||||
@ -1205,6 +1203,8 @@ void BookmarkView::onLabelText( wxCommandEvent& /* event */ ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!m_treeView->HasFocus()) { m_treeView->SetFocus(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user