mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Made setAcceptsCommands protected
CL-541
This commit is contained in:
parent
005ba4ac53
commit
80526893c2
2 changed files with 3 additions and 3 deletions
|
@ -79,9 +79,9 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
def _onAuthenticationStateChanged(self):
|
||||
# We only accept commands if we are authenticated.
|
||||
if self._authentication_state == AuthState.Authenticated:
|
||||
self.setAcceptsCommands(True)
|
||||
self._setAcceptsCommands(True)
|
||||
else:
|
||||
self.setAcceptsCommands(False)
|
||||
self._setAcceptsCommands(False)
|
||||
|
||||
def _setupMessages(self):
|
||||
self._authentication_requested_message = Message(i18n_catalog.i18nc("@info:status",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue