Add navigation mechanism for the Purchased folder
This commit is contained in:
parent
0614dad6f3
commit
909ec80f97
3 changed files with 23 additions and 2 deletions
|
|
@ -29,6 +29,8 @@ either expressed or implied, of the FreeBSD Project.
|
|||
|
||||
using MatterHackers.Agg;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.MatterControl.PrintLibrary;
|
||||
using MatterHackers.MatterControl.PrintLibrary.Provider;
|
||||
using MatterHackers.MatterControl.PrintQueue;
|
||||
using MatterHackers.MatterControl.SlicerConfiguration;
|
||||
using MatterHackers.VectorMath;
|
||||
|
|
@ -301,6 +303,16 @@ namespace MatterHackers.MatterControl
|
|||
ReloadAdvancedControlsPanelTrigger.CallEvents(this, null);
|
||||
}
|
||||
|
||||
public void SwitchToPurchasedLibrary()
|
||||
{
|
||||
// Switch to the purchased library
|
||||
LibraryDataView.CurrentLibraryProvider = LibraryProviderSelector.Instance.PurchasedLibrary;
|
||||
|
||||
// Force a rebuild
|
||||
LibraryProviderSelector.Instance.PurchasedLibrary.KeywordFilter = "!";
|
||||
LibraryProviderSelector.Instance.PurchasedLibrary.KeywordFilter = "";
|
||||
}
|
||||
|
||||
public void ChangeCloudSyncStatus(bool userAuthenticated)
|
||||
{
|
||||
CloudSyncStatusChanged.CallEvents(this, new CloudSyncEventArgs() { IsAuthenticated = userAuthenticated });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue