diff options
Diffstat (limited to 'src/wx/timecode.cc')
| -rw-r--r-- | src/wx/timecode.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index 6538bf986..e81b10db1 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -152,6 +152,12 @@ TimecodeBase::paste(wxClipboardTextEvent& ev) _seconds->SetValue(contents.Mid(4, 2)); _frames->SetValue(contents.Mid(6, 2)); return; + } else if (contents.Length() == 11 && contents[2] == ':' && contents[5] == ':' && contents[8] == ':') { + _hours->SetValue(contents.Mid(0, 2)); + _minutes->SetValue(contents.Mid(3, 2)); + _seconds->SetValue(contents.Mid(6, 2)); + _frames->SetValue(contents.Mid(9, 2)); + return; } } |
