Levente Uzonyi uploaded a new version of PreferenceBrowser to project The Trunk:
http://source.squeak.org/trunk/PreferenceBrowser-ul.78.mcz==================== Summary ====================
Name: PreferenceBrowser-ul.78
Author: ul
Time: 27 February 2017, 2:24:00.374446 am
UUID: 6df2ac5f-5167-4801-acd3-487c683716ee
Ancestors: PreferenceBrowser-mt.77
- omit ifAbsent from #index* sends when the default value, 0 would used
=============== Diff against PreferenceBrowser-mt.77 ===============
Item was changed:
----- Method: PreferenceBrowser>>selectedCategory: (in category 'accessing') -----
selectedCategory: aCategorySymbol
+ self selectedCategoryIndex: (self categoryList indexOf: aCategorySymbol).!
- self selectedCategoryIndex: (self categoryList indexOf: aCategorySymbol ifAbsent: [0]).!
Item was changed:
----- Method: PreferenceBrowser>>selectedPreferenceIndex (in category 'accessing') -----
selectedPreferenceIndex
+ ^self selectedCategoryPreferences indexOf: self selectedPreference!
- ^self selectedCategoryPreferences indexOf: self selectedPreference ifAbsent: [0]!