[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] SF.net SVN: supercollider:[8130] trunk/build/SCClassLibrary/Common/GUI/ PlusGUI/Control/SynthDescLibPlusGUI.sc



Revision: 8130
          http://supercollider.svn.sourceforge.net/supercollider/?rev=8130&view=rev
Author:   jamshark70
Date:     2008-12-14 22:57:26 +0000 (Sun, 14 Dec 2008)

Log Message:
-----------
SynthDescLib:browse did not handle multiple libraries properly - it would always open the browser for the first lib alphabetically, when it should open to the receiver of the browse method.

Modified Paths:
--------------
    trunk/build/SCClassLibrary/Common/GUI/PlusGUI/Control/SynthDescLibPlusGUI.sc

Modified: trunk/build/SCClassLibrary/Common/GUI/PlusGUI/Control/SynthDescLibPlusGUI.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/GUI/PlusGUI/Control/SynthDescLibPlusGUI.sc	2008-12-14 22:38:04 UTC (rev 8129)
+++ trunk/build/SCClassLibrary/Common/GUI/PlusGUI/Control/SynthDescLibPlusGUI.sc	2008-12-14 22:57:26 UTC (rev 8130)
@@ -96,7 +96,8 @@
 		
 		w.view.decorator.nextLine;
 		
-		synthDescLibListView.items = SynthDescLib.all.keys.asArray.sort;
+		synthDescLibListView.items_(SynthDescLib.all.keys.asArray.sort)
+			.value_(synthDescLibListView.items.indexOf(name) ? 0);
 		synthDescLibListView.action = {
 			synthDescListView.value = 0;
 			updateViews.value;


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

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/