165 itm.setCheckState(0, Qt.Checked) |
165 itm.setCheckState(0, Qt.Checked) |
166 self.replaceButton.setEnabled(True) |
166 self.replaceButton.setEnabled(True) |
167 |
167 |
168 def show(self, txt=""): |
168 def show(self, txt=""): |
169 """ |
169 """ |
170 Overwritten method to enable/disable the project button. |
170 Public method to enable/disable the project button. |
171 |
171 |
172 @param txt text to be shown in the searchtext combo (string) |
172 @param txt text to be shown in the searchtext combo (string) |
173 """ |
173 """ |
174 if self.project and self.project.isOpen(): |
174 if self.project and self.project.isOpen(): |
175 self.projectButton.setEnabled(True) |
175 self.projectButton.setEnabled(True) |