From 59794b35a8d97a6c1cbd6e6e47f1a9f89658831c Mon Sep 17 00:00:00 2001 From: Vesa Date: Sat, 5 Apr 2014 21:50:55 +0300 Subject: [PATCH] AFP: fix loadsettings --- plugins/audio_file_processor/audio_file_processor.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/audio_file_processor/audio_file_processor.cpp b/plugins/audio_file_processor/audio_file_processor.cpp index 0988a60be..e133a64ef 100644 --- a/plugins/audio_file_processor/audio_file_processor.cpp +++ b/plugins/audio_file_processor/audio_file_processor.cpp @@ -217,17 +217,18 @@ void audioFileProcessor::loadSettings( const QDomElement & _this ) m_reverseModel.loadSettings( _this, "reversed" ); m_loopModel.loadSettings( _this, "looped" ); m_ampModel.loadSettings( _this, "amp" ); - m_startPointModel.loadSettings( _this, "sframe" ); m_endPointModel.loadSettings( _this, "eframe" ); // compat code for not having a separate loopback point if( _this.hasAttribute( "lframe" ) ) { m_loopPointModel.loadSettings( _this, "lframe" ); + m_startPointModel.loadSettings( _this, "sframe" ); } else { - m_loopPointModel.setValue( m_startPointModel.value() ); + m_loopPointModel.loadSettings( _this, "sframe" ); + m_startPointModel.setValue( m_loopPointModel.value() ); } m_stutterModel.loadSettings( _this, "stutter" );