Fix #1411 (The hotkey for " open contening folder " is not working.)

This commit is contained in:
Kovid Goyal 2008-12-17 12:48:57 -08:00
parent ba0ae51457
commit 252cceaf37

View File

@ -219,6 +219,7 @@ class Main(MainWindow, Ui_MainWindow):
QObject.connect(self.view_menu.actions()[1], SIGNAL("triggered(bool)"), self.view_specific_format)
self.connect(self.action_open_containing_folder, SIGNAL('triggered(bool)'), self.view_folder)
self.action_open_containing_folder.setShortcut(Qt.Key_O)
self.addAction(self.action_open_containing_folder)
self.action_sync.setShortcut(Qt.Key_D)
self.action_sync.setMenu(sm)
self.action_edit.setMenu(md)