mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-15 13:07:58 -04:00
Fix numeric direct-input for linux
This commit is contained in:
parent
33c27c5684
commit
84ae52b6d2
@ -187,8 +187,9 @@ void FrequencyDialog::OnChar(wxKeyEvent& event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FrequencyDialog::OnShow(wxShowEvent &event) {
|
void FrequencyDialog::OnShow(wxShowEvent &event) {
|
||||||
if (initialString.length() == 1) {
|
if (initialString.length() == 1) {
|
||||||
dialogText->SetSelection(2, 2);
|
dialogText->SetFocus();
|
||||||
dialogText->SetFocus();
|
dialogText->SetSelection(2, 2);
|
||||||
}
|
}
|
||||||
}
|
event.Skip();
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user