mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-15 16:17:41 +02:00
Fix for bug 1357
This commit is contained in:
parent
311a471286
commit
07a2e9a010
@ -251,7 +251,8 @@ void NumValidatorBase::OnPaste(wxClipboardTextEvent& event)
|
||||
wxTextCtrl * const text = wxDynamicCast(m_validatorWindow, wxTextCtrl);
|
||||
const bool wasModified = text ? text->IsModified() : false;
|
||||
|
||||
control->ChangeValue(NormalizeString(val));
|
||||
// Use SetValue because effect still needs EVT_TEXT (bug 1357)
|
||||
control->SetValue(NormalizeString(val));
|
||||
|
||||
if ( wasModified )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user