From fa6e5be63607cac92e081403590e75368eb31851 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 12 Feb 2009 23:25:49 +0000 Subject: [PATCH] update patch after loading settings (closes #2486372) (stable backport) git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2024 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 3 +++ plugins/sf2_player/sf2_player.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8c213e0e1..a0066801a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-02-12 Tobias Doerffel + * plugins/sf2_player/sf2_player.cpp: + update patch after loading settings (closes #2486372) + * src/gui/piano_roll.cpp: ensure, cursor is never NULL when painting it in paintEvent() diff --git a/plugins/sf2_player/sf2_player.cpp b/plugins/sf2_player/sf2_player.cpp index 1589d24ab..eeb4540ff 100644 --- a/plugins/sf2_player/sf2_player.cpp +++ b/plugins/sf2_player/sf2_player.cpp @@ -236,6 +236,7 @@ void sf2Instrument::loadSettings( const QDomElement & _this ) m_chorusSpeed.loadSettings( _this, "chorusSpeed" ); m_chorusDepth.loadSettings( _this, "chorusDepth" ); + updatePatch(); updateGain(); }