Remove OpenPrinterIDs from ProfileManager
- Issue MatterHackers/MCCentral#4729 Investigate failing PrinterNameChange test
This commit is contained in:
parent
0bdb7823e9
commit
c66b29e90e
3 changed files with 16 additions and 15 deletions
|
|
@ -91,8 +91,8 @@ namespace MatterHackers.MatterControl.DataStorage.ClassicDB
|
|||
printerSettings.UserLayer[SettingsKey.device_token] = printer.DeviceToken ?? "";
|
||||
printerSettings.UserLayer[SettingsKey.device_type] = printer.DeviceType ?? "";
|
||||
|
||||
// Open the first imported printer if undefined
|
||||
if (!ProfileManager.Instance.OpenPrinterIDs.Any())
|
||||
// Open the first imported printer if no active printer
|
||||
if (!ApplicationController.Instance.ActivePrinters.Any())
|
||||
{
|
||||
ApplicationController.Instance.OpenEmptyPrinter(printer.Id.ToString()).ConfigureAwait(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue