Helpviewer/History/HistoryMenu.py

changeset 541
00e1a5d060c5
parent 538
7f1a56e80124
child 791
9ec2ac20e54e
equal deleted inserted replaced
540:2631831b4052 541:00e1a5d060c5
299 def __clearHistoryDialog(self): 299 def __clearHistoryDialog(self):
300 """ 300 """
301 Private slot to clear the history. 301 Private slot to clear the history.
302 """ 302 """
303 if self.__historyManager is not None and \ 303 if self.__historyManager is not None and \
304 E5MessageBox.question(self, 304 E5MessageBox.yesNo(self,
305 self.trUtf8("Clear History"), 305 self.trUtf8("Clear History"),
306 self.trUtf8("""Do you want to clear the history?"""), 306 self.trUtf8("""Do you want to clear the history?""")):
307 QMessageBox.StandardButtons(\
308 QMessageBox.No | \
309 QMessageBox.Yes),
310 QMessageBox.No) == QMessageBox.Yes:
311 self.__historyManager.clear() 307 self.__historyManager.clear()

eric ide

mercurial