1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-15 08:07:41 +02:00

Fix for bug 1357

This commit is contained in:
Steve Daulton 2016-03-13 21:23:20 +00:00
parent 311a471286
commit 07a2e9a010

View File

@ -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 )
{