Small change to logging after loading canvas.
This commit is contained in:
@@ -1164,7 +1164,7 @@ class CanvasScene(QtWidgets.QGraphicsScene):
|
||||
self.addEntityLinkCreatorHelper(self.nodesDict[entity])
|
||||
|
||||
progress.setValue(steps)
|
||||
self.parent().mainWindow.MESSAGEHANDLER.info('Loaded canvas ' + self.getSelfName())
|
||||
self.parent().mainWindow.MESSAGEHANDLER.info('Loaded canvas ' + canvasName)
|
||||
|
||||
def updatePositionInDB(self, uid, x, y) -> None:
|
||||
"""
|
||||
|
||||
@@ -51,6 +51,9 @@ class DockBarThree(QtWidgets.QDockWidget):
|
||||
self.chatBox = ChatBox(self, self.parent())
|
||||
self.timeWidget = TimeWidget(self, self.parent())
|
||||
self.logViewer = QtWidgets.QPlainTextEdit()
|
||||
|
||||
# Because we're not going to stop the thread before closing, an error will be thrown by Qt.
|
||||
# That error can be safely ignored.
|
||||
logViewerUpdateThread = LoggingUpdateThread(mainWindow.MESSAGEHANDLER)
|
||||
logViewerUpdateThread.loggingSignal.connect(self.updateLogs)
|
||||
logViewerUpdateThread.start()
|
||||
|
||||
Reference in New Issue
Block a user