Helpviewer/SearchWidget.py

changeset 11
b0996e4a289e
parent 0
de9c2efb9d02
child 12
1d8dd9706f46
equal deleted inserted replaced
10:529717676149 11:b0996e4a289e
51 """ 51 """
52 Private slot to enable/disable the find buttons. 52 Private slot to enable/disable the find buttons.
53 53
54 @param txt text of the combobox (string) 54 @param txt text of the combobox (string)
55 """ 55 """
56 self.findPrevButton.setEnabled(txt) 56 self.findPrevButton.setEnabled(txt != "")
57 self.findNextButton.setEnabled(txt) 57 self.findNextButton.setEnabled(txt != "")
58 58
59 def __findNextPrev(self): 59 def __findNextPrev(self):
60 """ 60 """
61 Private slot to find the next occurrence of text. 61 Private slot to find the next occurrence of text.
62 """ 62 """

eric ide

mercurial