Skip to content

Commit

Permalink
Trying core.callLater instead of wx.CallLater
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Davis authored and Luke Davis committed Jul 14, 2023
1 parent 75ebd51 commit 6f1b54c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions addon/globalPlugins/versionCollector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from scriptHandler import script, getLastScriptRepeatCount
from globalCommands import SCRCAT_TOOLS
from appModuleHandler import post_appSwitch
from core import postNvdaStartup
from core import postNvdaStartup, callLater as core_callLater

#from . import toolsGUI

Expand Down Expand Up @@ -179,8 +179,8 @@ def onAppSwitch(self) -> None:
def collectInitialApp(self) -> None:
"""Called as a registered extensionPoint, when NVDA first finishes loading."""
log.debug("Collecting the initial app after a delay.")
wx.CallLater(1000, self.onAppSwitch)
postNvdaStartup.unregister(self.collectInitialApp)
core_callLater(1000, self.onAppSwitch)
#postNvdaStartup.unregister(self.collectInitialApp)

def addToCacheOrUpdateDate(self, subject: _AppData) -> None:
ind = getCacheIndexOf(subject)
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _(arg):
"addon_description": _("""Keeps a record of all software names and versions used while running NVDA.
Provides a list that can be copied/exported for diagnostics and support."""),
# version
"addon_version": "23.00.054",
"addon_version": "23.00.055",
# Author(s)
"addon_author": "Luke Davis <XLTechie@newanswertech.com>",
# URL for the add-on documentation support
Expand Down

0 comments on commit 6f1b54c

Please sign in to comment.