diff document/SVFileReader.cpp @ 83:0d2fb43b5ee5

* Fix failure to reload play mute state correctly from session file * Ensure Show and Play buttons in layer property box are initialised with the correct state
author Chris Cannam
date Fri, 05 Jan 2007 14:46:45 +0000
parents bedc7517b6e8
children 41c491657587
line wrap: on
line diff
--- a/document/SVFileReader.cpp	Fri Jan 05 12:59:51 2007 +0000
+++ b/document/SVFileReader.cpp	Fri Jan 05 14:46:45 2007 +0000
@@ -1086,7 +1086,7 @@
         }
         
         bool muted = (attributes.value("mute").trimmed() == "true");
-        if (ok) parameters->setPlayMuted(muted);
+        parameters->setPlayMuted(muted);
         
         float pan = attributes.value("pan").toFloat(&ok);
         if (ok) parameters->setPlayPan(pan);