mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Modification to fix for Bug 875 - NumericTextCtrl
Modification to commit 7ab4b8c. The first non-zero digit only becomes the focus on the first visit to the control. On subsequent visits, the focus is the previous focus. Example use case: modifying start and end times by a tenth of a second. The user can move between the controls without loosing his "place".
This commit is contained in:
parent
8e71ebca87
commit
0e25f65eb4
@ -1625,7 +1625,6 @@ void NumericTextCtrl::OnFocus(wxFocusEvent &event)
|
||||
{
|
||||
if (event.GetEventType() == wxEVT_KILL_FOCUS) {
|
||||
AudacityProject::ReleaseKeyboard(this);
|
||||
mFocusedDigit =0;
|
||||
}
|
||||
else {
|
||||
AudacityProject::CaptureKeyboard(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user