Fix #2982 (Keystroke Ctrl-C in PDB viewer does not work)

This commit is contained in:
Kovid Goyal 2009-07-29 11:22:07 -06:00
parent 85bdb2d9a9
commit e45556022b

View File

@ -287,6 +287,7 @@ class EbookViewer(MainWindow, Ui_EbookViewer):
self.set_max_width() self.set_max_width()
ca = self.view.copy_action ca = self.view.copy_action
ca.setShortcut(QKeySequence.Copy) ca.setShortcut(QKeySequence.Copy)
self.addAction(ca)
def set_max_width(self): def set_max_width(self):