mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-03 06:24:49 -04:00
Fix numeric direct-input for linux
This commit is contained in:
@@ -187,8 +187,9 @@ void FrequencyDialog::OnChar(wxKeyEvent& event) {
|
||||
}
|
||||
|
||||
void FrequencyDialog::OnShow(wxShowEvent &event) {
|
||||
if (initialString.length() == 1) {
|
||||
dialogText->SetSelection(2, 2);
|
||||
dialogText->SetFocus();
|
||||
if (initialString.length() == 1) {
|
||||
dialogText->SetFocus();
|
||||
dialogText->SetSelection(2, 2);
|
||||
}
|
||||
}
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user