diff --git a/addon/appModules/idea64.py b/addon/appModules/idea64.py index 405dcaf..41f14b5 100644 --- a/addon/appModules/idea64.py +++ b/addon/appModules/idea64.py @@ -185,12 +185,14 @@ def getStatusBar(self, refresh: bool = False): else: obj = obj.simpleFirstChild while obj is not None: + # This first searching pattern is for IntelliJ post v2023 if obj.name == "Status Bar": child = obj.simpleFirstChild if child.role == STATUSBAR: obj = child self.status = obj break + # this second searching pattern is for IntelliJ pre v2023 if obj.role == STATUSBAR: self.status = obj break