mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Adding command for opening url
CURA-11596
This commit is contained in:
parent
e554eb264e
commit
9c57627a88
2 changed files with 2 additions and 3 deletions
|
@ -74,13 +74,10 @@ class SingleInstance:
|
|||
def _onClientConnected(self) -> None:
|
||||
Logger.log("i", "New connection received on our single-instance server")
|
||||
connection = None #type: Optional[QLocalSocket]
|
||||
Logger.log("i","getting connection")
|
||||
if self._single_instance_server:
|
||||
connection = self._single_instance_server.nextPendingConnection()
|
||||
Logger.log("i", f"here: {connection}")
|
||||
|
||||
if connection is not None:
|
||||
Logger.log("i","here2")
|
||||
connection.readyRead.connect(lambda c = connection: self.__readCommands(c))
|
||||
|
||||
def __readCommands(self, connection: QLocalSocket) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue