Skip USB port validation when TCP/IP printing
This commit is contained in:
parent
825295c4b4
commit
410d526345
2 changed files with 9 additions and 7 deletions
|
|
@ -999,7 +999,8 @@ namespace MatterHackers.MatterControl.PrinterCommunication
|
|||
if (ActivePrinter != null)
|
||||
{
|
||||
// Start the process of requesting permission and exit if permission is not currently granted
|
||||
if (!FrostedSerialPort.EnsureDeviceAccess())
|
||||
if (!ActiveSliceSettings.Instance.GetValue<bool>(SettingsKey.enable_network_printing)
|
||||
&& !FrostedSerialPort.EnsureDeviceAccess())
|
||||
{
|
||||
CommunicationState = CommunicationStates.FailedToConnect;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue