Toggle LibraryProvider availability on authentication status
- Add Visible property to LibraryProviders - Filter LibraryProviders based on .Visible - Add authentication status to ChangeCloudSyncStatus calls
This commit is contained in:
parent
e196e76d29
commit
23186bc68d
6 changed files with 66 additions and 11 deletions
|
|
@ -78,6 +78,11 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
|||
GetFilesAndCollectionsInCurrentDirectory();
|
||||
}
|
||||
|
||||
public override bool Visible
|
||||
{
|
||||
get { return true; }
|
||||
}
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
directoryWatcher.EnableRaisingEvents = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue