Rename ApplicationControl static printer property to ActivePrinter
This commit is contained in:
parent
2ac9b5932e
commit
ed66d862a4
11 changed files with 20 additions and 20 deletions
|
|
@ -130,12 +130,12 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
{
|
||||
get
|
||||
{
|
||||
return Math.Max(MinDockingWidth, ApplicationController.Instance.Printer.ViewState.SliceSettingsWidth);
|
||||
return Math.Max(MinDockingWidth, ApplicationController.Instance.ActivePrinter.ViewState.SliceSettingsWidth);
|
||||
}
|
||||
set
|
||||
{
|
||||
var clampedWidth = Math.Max(MinDockingWidth, value);
|
||||
ApplicationController.Instance.Printer.ViewState.SliceSettingsWidth = clampedWidth;
|
||||
ApplicationController.Instance.ActivePrinter.ViewState.SliceSettingsWidth = clampedWidth;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue