def select_file(self, n):
if n < len(self.recent_paths):
recent = self.recent_paths[n]
del self.recent_paths[n]
self.recent_paths.insert(0, recent)
elif n:
path = self.file_combo.currentText()
if os.path.exists(path):
After Change
def select_file(self, n):
if n < len(self.recent_paths):
super().select_file(n)
// TODO: This is weird. Has it remained here from "Browse data sets"
// or from when this combo was editable? A `n` this large can come from
// `reload`, but ... how?!