[Scummvm-cvs-logs] SF.net SVN: scummvm:[35864] scummvm/trunk/gui/options.cpp

jvprat at users.sourceforge.net jvprat at users.sourceforge.net
Wed Jan 14 19:17:20 CET 2009


Revision: 35864
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35864&view=rev
Author:   jvprat
Date:     2009-01-14 18:17:19 +0000 (Wed, 14 Jan 2009)

Log Message:
-----------
Handle the sound font clearing button in the game specific options

Modified Paths:
--------------
    scummvm/trunk/gui/options.cpp

Modified: scummvm/trunk/gui/options.cpp
===================================================================
--- scummvm/trunk/gui/options.cpp	2009-01-14 16:05:26 UTC (rev 35863)
+++ scummvm/trunk/gui/options.cpp	2009-01-14 18:17:19 UTC (rev 35864)
@@ -437,6 +437,11 @@
 		_subSpeedLabel->setValue(_subSpeedSlider->getValue());
 		_subSpeedLabel->draw();
 		break;
+	case kClearSoundFontCmd:
+		_soundFont->setLabel("None");
+		_soundFontClearButton->setEnabled(false);
+		draw();
+		break;
 	case kOKCmd:
 		setResult(1);
 		close();
@@ -922,12 +927,6 @@
 		}
 		break;
 	}
-	case kClearSoundFontCmd: {
-		_soundFont->setLabel("None");
-		_soundFontClearButton->setEnabled(false);
-		draw();
-		break;
-	}
 	case kChooseThemeCmd: {
 		ThemeBrowser browser;
 		if (browser.runModal() > 0) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list