mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-14 16:11:47 -05: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;
|
||||
onLabelText(dummyEvt);
|
||||
|
||||
if (!m_treeView->HasFocus()) { m_treeView->SetFocus(); }
|
||||
}
|
||||
|
||||
void BookmarkView::onLabelText( wxCommandEvent& /* event */ ) {
|
||||
@ -1205,6 +1203,8 @@ void BookmarkView::onLabelText( wxCommandEvent& /* event */ ) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!m_treeView->HasFocus()) { m_treeView->SetFocus(); }
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user