Make deprecated ActivePrinter return first open printer or Empty
This commit is contained in:
parent
138898a4b7
commit
4016f0e4bb
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ namespace MatterHackers.MatterControl
|
|||
// PrinterConnection.IsPrinterConnected, that could should be updated to iterate ActiverPrinters, checking each one and acting on each as it would
|
||||
// have for the single case
|
||||
[Obsolete("ActivePrinter references should be migrated to logic than supports multi-printer mode")]
|
||||
public PrinterConfig ActivePrinter { get; private set; } = PrinterConfig.EmptyPrinter;
|
||||
public PrinterConfig ActivePrinter => this.ActivePrinters.FirstOrDefault() ?? PrinterConfig.EmptyPrinter;
|
||||
|
||||
public Action RedeemDesignCode;
|
||||
public Action EnterShareCode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue