~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/gui2/tweak_book/preview.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: package-import@ubuntu.com-20140514181750-efj1wymey2vb4cao
Tags: upstream-1.36.0+dfsg
ImportĀ upstreamĀ versionĀ 1.36.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
416
416
 
417
417
    def contextMenuEvent(self, ev):
418
418
        menu = QMenu(self)
 
419
        ca = self.pageAction(QWebPage.Copy)
 
420
        if ca.isEnabled():
 
421
            menu.addAction(ca)
419
422
        menu.addAction(actions['reload-preview'])
420
423
        menu.addAction(QIcon(I('debug.png')), _('Inspect element'), self.inspect)
421
424
        menu.exec_(ev.globalPos())