Skip to content

Commit

Permalink
remove close button as redundant and untranslated
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhendricks committed May 3, 2021
1 parent a3acd70 commit 3b59701
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ def __init__(self, query, prefs, *args, **kwargs):
self.browser.loadFinished.connect(self.update_title)

# creating QToolBar for navigation and add close button
navtb = QToolBar("Navigation")
self.addToolBar(navtb)
done_btn = QAction('Close', self)
done_btn.setStatusTip('Close Reader')
done_btn.triggered.connect(self.done)
navtb.addAction(done_btn)
# navtb = QToolBar("Navigation")
# self.addToolBar(navtb)
# done_btn = QAction('Close', self)
# done_btn.setStatusTip('Close Reader')
# done_btn.triggered.connect(self.done)
# navtb.addAction(done_btn)

# build url to launch readium with
readerpath = os.path.join(SCRIPT_DIR,'viewer','cloud-reader-lite','index.html')
Expand Down

0 comments on commit 3b59701

Please sign in to comment.