diff --git a/sourcecodebrowser/plugin.py b/sourcecodebrowser/plugin.py index 19123fc..06793f3 100644 --- a/sourcecodebrowser/plugin.py +++ b/sourcecodebrowser/plugin.py @@ -398,7 +398,7 @@ def _load_active_document_symbols(self): document = self.window.get_active_document() if document: - location = document.get_location() + location = document.get_file().get_location() if location: uri = location.get_uri() self._log.debug("Loading %s...", uri)