DIALOG_SHIM: fix missing aEvent.Skip() in DIALOG_SHIM::onChildSetFocus().
This method was added in commita914f6e9
. Missing Skip() created issues on Windows (text edit cursor not shown in dialogs) Fixes https://gitlab.com/kicad/code/kicad/issues/14692 (cherry picked from commite208685f85
)
This commit is contained in:
parent
edc9d38680
commit
3894314ab2
|
@ -579,6 +579,8 @@ void DIALOG_SHIM::onChildSetFocus( wxFocusEvent& aEvent )
|
||||||
m_beforeEditValues[ textCtrl ] = textCtrl->GetValue();
|
m_beforeEditValues[ textCtrl ] = textCtrl->GetValue();
|
||||||
else if( wxStyledTextCtrl* scintilla = dynamic_cast<wxStyledTextCtrl*>( aEvent.GetEventObject() ) )
|
else if( wxStyledTextCtrl* scintilla = dynamic_cast<wxStyledTextCtrl*>( aEvent.GetEventObject() ) )
|
||||||
m_beforeEditValues[ scintilla ] = scintilla->GetText();
|
m_beforeEditValues[ scintilla ] = scintilla->GetText();
|
||||||
|
|
||||||
|
aEvent.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue