Exemple #1
0
 private void OnPackagesLoaded()
 {
     PackageManagerToolbar.SetEnabled(true);
     SelectionManager.SetSelection(PackageToSelectAfterLoad);
     PackageManagerToolbar.SetFilter(Collection.Filter);
     PackageToSelectAfterLoad = null;
 }
Exemple #2
0
        private void OnPackagesLoaded()
        {
            PackageManagerToolbar.SetEnabled(true);

            if (!string.IsNullOrEmpty(PackageToSelectAfterLoad) || FilterToSelectAfterLoad != null)
            {
                if (FilterToSelectAfterLoad != null)
                {
                    PackageManagerToolbar.SetFilter(FilterToSelectAfterLoad);
                }
                SelectionManager.SetSelection(PackageToSelectAfterLoad, FilterToSelectAfterLoad, true);
            }

            PackageToSelectAfterLoad = null;
            FilterToSelectAfterLoad  = null;
        }