Skip to content

Commit

Permalink
new version 1.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
prrvchr committed Oct 7, 2024
1 parent 80b8d57 commit e70bf45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions uno/lib/uno/logger/dialog/logmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, ctx, window, requirements, *loggers):
self._update = False
self._view.initView(self._model.getLoggerNames())
self._update = True
self._model.addModifyListener(PoolListener(self))
self._model.addPoolListener(PoolListener(self))

# LogManager setter methods
def dispose(self):
Expand Down Expand Up @@ -107,10 +107,10 @@ def viewLog(self):
data = self._model.getLoggerData()
self._dialog = LogDialog(self._ctx, handler, parent, *data)
listener = LoggerListener(self)
self._model.addModifyListener(listener)
self._model.addLoggerListener(listener)
self._dialog.execute()
self._dialog.dispose()
self._model.removeModifyListener(listener)
self._model.removeLoggerListener(listener)
self._dialog = None

# LogManager setter methods called by DialogHandler
Expand Down
6 changes: 3 additions & 3 deletions uno/lib/uno/logger/dialog/logmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def saveSetting(self):
return self._config.saveSetting()

# Public setter method
def addModifyListener(self, listener):
def addPoolListener(self, listener):
self._listener = listener
self._pool.addModifyListener(listener)

Expand All @@ -122,10 +122,10 @@ def setLogSetting(self, setting):
config.LogLevel = setting.LogLevel
config.DefaultHandler = setting.DefaultHandler

def addModifyListener(self, listener):
def addLoggerListener(self, listener):
self._logger.addModifyListener(listener)

def removeModifyListener(self, listener):
def removeLoggerListener(self, listener):
self._logger.removeModifyListener(listener)

def logInfos(self, level, clazz, method, requirements):
Expand Down

0 comments on commit e70bf45

Please sign in to comment.