Remove RefreshActiveInstance, use SwapToSettings
This commit is contained in:
parent
426c117434
commit
1c4075ad54
3 changed files with 5 additions and 26 deletions
|
|
@ -54,8 +54,8 @@ namespace MatterHackers.MatterControl.SetupWizard
|
|||
// Persist downloaded profile
|
||||
printerSettings.Save();
|
||||
|
||||
// Update active instance without calling ReloadAll
|
||||
ApplicationController.Instance.RefreshActiveInstance(printerSettings);
|
||||
// Update/switch printer instance to new settings
|
||||
printer.SwapToSettings(printerSettings);
|
||||
}
|
||||
|
||||
UiThread.RunOnIdle(DialogWindow.Close);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue