core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/api/sdk/ui/SBSv2PlatformFilterComposite.java
--- a/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/api/sdk/ui/SBSv2PlatformFilterComposite.java Fri Jun 25 12:58:06 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/api/sdk/ui/SBSv2PlatformFilterComposite.java Fri Jun 25 16:24:51 2010 -0500
@@ -162,7 +162,10 @@
if (addVariantDlg.open() == TrayDialog.OK){
if (customVariantListViewer.testFindItem(addVariantDlg.getUserCreatedVariant()) == null){
// doesn't exist, add it. if it does exist just ignore it
- customVariantListViewer.add(addVariantDlg.getUserCreatedVariant());
+ List<String> variantList = (List<String>)customVariantListViewer.getInput();
+ variantList.add(addVariantDlg.getUserCreatedVariant());
+ customVariantListViewer.setInput(variantList);
+ customVariantListViewer.refresh();
}
}
}