870 dlg = EricListSelectionDialog( |
870 dlg = EricListSelectionDialog( |
871 commitMessages, |
871 commitMessages, |
872 selectionMode=QAbstractItemView.SelectionMode.SingleSelection, |
872 selectionMode=QAbstractItemView.SelectionMode.SingleSelection, |
873 title=self.tr("Quick Commit"), |
873 title=self.tr("Quick Commit"), |
874 message=self.tr("Select your commit message:"), |
874 message=self.tr("Select your commit message:"), |
|
875 doubleClickOk=True, |
875 parent=self |
876 parent=self |
876 ) |
877 ) |
877 if dlg.exec() == QDialog.DialogCode.Accepted: |
878 if dlg.exec() == QDialog.DialogCode.Accepted: |
878 selection = dlg.getSelection() |
879 selection = dlg.getSelection() |
879 if selection: |
880 if selection: |