]> git.sesse.net Git - kdenlive/blobdiff - src/clipproperties.cpp
#596: Clearing unicode number clears char overview too
[kdenlive] / src / clipproperties.cpp
index adb51fa4e5cb6df880ca75ffb1b24053a80140ea..8f1224fe5402be8889936c97408f29f7841a451f 100644 (file)
@@ -505,6 +505,7 @@ void ClipProperties::parseFolder()
 
 void ClipProperties::slotCheckMaxLength()
 {
+    if (m_clip->maxDuration() == GenTime()) return;
     int duration = m_tc.getFrameCount(m_view.clip_duration->text(), m_fps);
     if (duration > m_clip->maxDuration().frames(m_fps)) {
         m_view.clip_duration->setText(m_tc.getTimecode(m_clip->maxDuration(), m_fps));