Add the ability to double-click a slide entry in custom to edit the slide.

bzr-revno: 1556
This commit is contained in:
Stevan Pettit 2011-05-19 07:37:05 +02:00 committed by Andreas Preikschat
commit fc5b72b0b4

View File

@ -65,6 +65,9 @@ class EditCustomForm(QtGui.QDialog, Ui_CustomEditDialog):
QtCore.SIGNAL(u'theme_update_list'), self.loadThemes)
QtCore.QObject.connect(self.slideListView,
QtCore.SIGNAL(u'currentRowChanged(int)'), self.onCurrentRowChanged)
QtCore.QObject.connect(self.slideListView,
QtCore.SIGNAL(u'doubleClicked(QModelIndex)'),
self.onEditButtonPressed)
def loadThemes(self, themelist):
self.themeComboBox.clear()