98 @param key feature to set (string) |
98 @param key feature to set (string) |
99 @param enabled flag indicating the status (boolean) |
99 @param enabled flag indicating the status (boolean) |
100 """ |
100 """ |
101 for editor in self.__editors[:]: |
101 for editor in self.__editors[:]: |
102 self.__editorClosed(editor) |
102 self.__editorClosed(editor) |
103 if enabled: |
103 for editor in self.__viewmanager.getOpenEditors(): |
104 for editor in self.__viewmanager.getOpenEditors(): |
104 self.__editorOpened(editor) |
105 self.__editorOpened(editor) |
|
106 |
105 |
107 def __editorOpened(self, editor): |
106 def __editorOpened(self, editor): |
108 """ |
107 """ |
109 Private slot called, when a new editor was opened. |
108 Private slot called, when a new editor was opened. |
110 |
109 |