Eliminate PrinterConnection.Instance
This commit is contained in:
parent
928fed9efe
commit
76e7af0436
26 changed files with 265 additions and 270 deletions
|
|
@ -60,8 +60,8 @@ namespace MatterHackers.MatterControl
|
|||
else
|
||||
{
|
||||
// TODO: when this oppens a new tab we will not need to check any printer
|
||||
if (PrinterConnection.Instance.PrinterIsPrinting
|
||||
|| PrinterConnection.Instance.PrinterIsPaused)
|
||||
if (ApplicationController.Instance.ActivePrinter.Connection.PrinterIsPrinting
|
||||
|| ApplicationController.Instance.ActivePrinter.Connection.PrinterIsPaused)
|
||||
{
|
||||
if (this.SelectedIndex != lastSelectedIndex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue