Plugins/DocumentationPlugins/Ericdoc/EricdocConfigDialog.py

branch
5_1_x
changeset 1435
09ec4c8c75d8
parent 882
34b86be88bf0
child 1436
f170933c1431
equal deleted inserted replaced
1429:fa58f95c8976 1435:09ec4c8c75d8
303 Private slot to add the directory displayed to the listview. 303 Private slot to add the directory displayed to the listview.
304 304
305 The directory in the ignore directories 305 The directory in the ignore directories
306 line edit is moved to the listbox above and the edit is cleared. 306 line edit is moved to the listbox above and the edit is cleared.
307 """ 307 """
308 self.ignoreDirsList.addItem(os.path.basename(self.ignoreDirEdit.text())) 308 basename = os.path.basename(self.ignoreDirEdit.text())
309 self.ignoreDirEdit.clear() 309 if basename:
310 self.ignoreDirsList.addItem()
311 self.ignoreDirEdit.clear()
310 312
311 @pyqtSlot() 313 @pyqtSlot()
312 def on_deleteButton_clicked(self): 314 def on_deleteButton_clicked(self):
313 """ 315 """
314 Private slot to delete the currently selected directory of the listbox. 316 Private slot to delete the currently selected directory of the listbox.

eric ide

mercurial