2 @todo Remove blocking operations from UI thread
11 class FileView(common_view.CommonView):
13 def __init__(self, widgetTree, errorDisplay, defaultPath):
14 super(FileView, self).__init__(widgetTree, errorDisplay)
15 self._path = defaultPath
21 def load_settings(self, config):
25 path = config.get(self.name(), "path")
29 def save_settings(self, config):
34 config.add_section(self.name())
35 config.set(self.name(), "path", self._path)
41 if self._manager is not None:
44 self._manager = file_backend.FileBackend(self._path)