src/eric7/EricWidgets/EricComboSelectionDialog.py

branch
eric7
changeset 10689
3ede487187f2
parent 10439
21c28b0f9e41
child 11035
e1e1d6e317c7
equal deleted inserted replaced
10688:0d9853ceb288 10689:3ede487187f2
40 else: 40 else:
41 self.selectionComboBox.addItem(entry) 41 self.selectionComboBox.addItem(entry)
42 42
43 self.on_selectionComboBox_currentTextChanged(self.selectionComboBox.itemText(0)) 43 self.on_selectionComboBox_currentTextChanged(self.selectionComboBox.itemText(0))
44 44
45 if message:
46 self.messageLabel.setText(message)
47 if title:
48 self.setWindowTitle(title)
49
45 msh = self.minimumSizeHint() 50 msh = self.minimumSizeHint()
46 self.resize(max(self.width(), msh.width()), msh.height()) 51 self.resize(max(self.width(), msh.width()), msh.height())
47 52
48 @pyqtSlot(str) 53 @pyqtSlot(str)
49 def on_selectionComboBox_currentTextChanged(self, txt): 54 def on_selectionComboBox_currentTextChanged(self, txt):

eric ide

mercurial