diff -r ee314cf3b1c9 -r cc3f83d1a605 eric6/Debugger/DebugViewer.py --- a/eric6/Debugger/DebugViewer.py Fri May 03 23:01:00 2019 +0200 +++ b/eric6/Debugger/DebugViewer.py Mon May 13 22:29:15 2019 +0200 @@ -45,8 +45,10 @@ the exception logger. Additionally a list of all threads is shown. @signal sourceFile(string, int) emitted to open a source file at a line + @signal preferencesChanged() emitted to react on changed preferences """ sourceFile = pyqtSignal(str, int) + preferencesChanged = pyqtSignal() def __init__(self, debugServer, docked, vm, parent=None): """ @@ -168,6 +170,10 @@ self.setLocalsFilterButton.clicked.connect(self.setLocalsFilter) self.localsFilterEdit.returnPressed.connect(self.setLocalsFilter) + self.preferencesChanged.connect(self.handlePreferencesChanged) + self.preferencesChanged.connect(self.globalsViewer.preferencesChanged) + self.preferencesChanged.connect(self.localsViewer.preferencesChanged) + from .CallStackViewer import CallStackViewer # add the call stack viewer self.callStackViewer = CallStackViewer(self.debugServer) @@ -246,7 +252,7 @@ self.__autoViewSource = Preferences.getDebugger("AutoViewSourceCode") self.sourceButton.setVisible(not self.__autoViewSource) - def preferencesChanged(self): + def handlePreferencesChanged(self): """ Public slot to handle the preferencesChanged signal. """