7ebf1257d3667e1245048ff5c6cbb7f9a86c4d9a,Orange/widgets/data/owfile.py,OWFile,set_file_list,#OWFile#,89
Before Change
self.file_combo.clear()
if not self.recent_files:
self.file_combo.addItem("(none)")
for file in self.recent_files:
if file == "(none)":
self.file_combo.addItem("(none)")
else:
self.file_combo.addItem(os.path.split(file)[1])
self.file_combo.addItem("Browse documentation data sets...")
def reload(self):
if self.recent_files:
After Change
if not self.recent_paths:
self.file_combo.addItem("(none)")
self.file_combo.model().item(0).setEnabled(False)
else:
for recent in self.recent_paths:
self.file_combo.addItem(recent.basename)
self.file_combo.addItem("Browse documentation data sets...")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: biolab/orange3
Commit Name: 7ebf1257d3667e1245048ff5c6cbb7f9a86c4d9a
Time: 2015-09-14
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/data/owfile.py
Class Name: OWFile
Method Name: set_file_list
Project Name: ilastik/ilastik
Commit Name: 8861dfa21d1cfd487b7a6eb7508885f084f58e6c
Time: 2019-07-10
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: __init__
Project Name: ilastik/ilastik
Commit Name: 2ac4848361d927aa450b1e88f79adf9e921bb0d8
Time: 2018-06-15
Author: fynn.beuttenmueller@iwr.uni-heidelberg.de
File Name: ilastik/widgets/featureTableWidget.py
Class Name: FeatureTableWidget
Method Name: _fillTabelWithItems