mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-08 08:53:46 +00:00
Start work towards manually added servers
This commit is contained in:
@@ -29,8 +29,12 @@ namespace qController.ViewModels
|
||||
{
|
||||
Task.Run(async () =>
|
||||
{
|
||||
if(autoUpdate)
|
||||
if (autoUpdate)
|
||||
{
|
||||
//Log.Debug("[QBrowserViewModel] Auto update scan ran");
|
||||
this.browser.ProbeForQLabInstances();
|
||||
|
||||
}
|
||||
});
|
||||
return true;
|
||||
});
|
||||
@@ -76,5 +80,14 @@ namespace qController.ViewModels
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
|
||||
}
|
||||
|
||||
public void InitiateScan()
|
||||
{
|
||||
if (!autoUpdate)
|
||||
{
|
||||
Log.Debug("[QBrowserViewModel] Manual Scan Initiated");
|
||||
this.browser.ProbeForQLabInstances();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user