'Add button clicked.'

def add(self):

    file_dialog = FileDialog(caption=strings._('gui_choose_items', True))
    if (file_dialog.exec_() == QtWidgets.QDialog.Accepted):
        for filename in file_dialog.selectedFiles():
            self.file_list.add_file(filename)
    self.update()
