Skip to content

Commit

Permalink
Creator/annotations: annotate playlist editor window checker method. Re
Browse files Browse the repository at this point in the history
  • Loading branch information
josephsl committed Jan 25, 2021
1 parent b96ab8e commit 3e52277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/appModules/splcreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def chooseNVDAObjectOverlayClasses(self, obj, clsList):

# The following scripts are designed to work while using Playlist Editor.

def isPlaylistEditor(self):
def isPlaylistEditor(self) -> bool:
if api.getForegroundObject().windowClassName != "TEditMain":
# Translators: announced in SPL Creator and Remote VT
# when trying to perform playlist status commands while outside of playlist editor.
Expand Down

0 comments on commit 3e52277

Please sign in to comment.