Skip to content

Commit

Permalink
Fixed issue with closing new update available dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
xoriole committed Oct 25, 2018
1 parent 979fc38 commit 8d9c852
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TriblerGUI/tribler_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ def on_new_version_dialog_done(self, version, action):
elif action == 2: # ok
import webbrowser
webbrowser.open("https://tribler.org")

self.new_version_dialog.close_dialog()
self.new_version_dialog = None
if self.new_version_dialog:
self.new_version_dialog.close_dialog()
self.new_version_dialog = None

def on_search_text_change(self, text):
self.search_suggestion_mgr = TriblerRequestManager()
Expand Down

0 comments on commit 8d9c852

Please sign in to comment.