Skip to content

Commit

Permalink
Don't close feeds dialog when opening other elements, requested by Lo…
Browse files Browse the repository at this point in the history
…cutor Antonio, remove accidentally kept code
  • Loading branch information
nvdaes committed Oct 5, 2020
1 parent 347d007 commit 3cf5dee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions addon/globalPlugins/readFeeds/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,15 +290,13 @@ def onOpen(self, evt):
with open(os.path.join(FEEDS_PATH, "%s.txt" % self.stringSel), "r", encoding="utf-8") as f:
address = f.read()
os.startfile(address)
self.onClose(None)

def onOpenHtml(self, evt):
with open(os.path.join(FEEDS_PATH, "%s.txt" % self.stringSel), "r", encoding="utf-8") as f:
address = f.read()
self.feed = Feed(address)
self.feed.buildHtml()
os.startfile(os.path.join(HTML_PATH, "feed.html"))
self.onClose(None)

def onNew(self, evt):
# Translators: The label of a field to enter an address for a new feed.
Expand Down Expand Up @@ -364,7 +362,6 @@ def onOpenFolder(self, evt):
if not os.path.isdir(path):
os.makedirs(path)
os.startfile(path)
self.onClose(None)

class ArticlesDialog(wx.Dialog):

Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description" : _("""Add-on for using NVDA as a feed reader."""),
# version
"addon_version" : "10.7-dev",
"addon_version" : "10.8-dev",
# Author(s)
"addon_author" : u"Noelia Ruiz Martínez <[email protected]>, Mesar Hameed <[email protected]>",
# URL for the add-on documentation support
Expand Down

0 comments on commit 3cf5dee

Please sign in to comment.