def on_open_folder(self): rows = self.get_selected_rows() if rows: items_list = api.get_download_items([self.items[row_index][0] for row_index in rows]) paths_list = {download_item.path for download_item in items_list} for folder_path in paths_list: utils.open_folder_window(folder_path)
def on_open_folder(self): rows = self.get_selected_rows() if rows: items_list = api.get_download_items( [self.items[row_index][0] for row_index in rows]) paths_list = {download_item.path for download_item in items_list} for folder_path in paths_list: utils.open_folder_window(folder_path)
def on_open_folder(self): rows = self.get_selected_rows() if rows: paths_list = {self.items[row_index][6] for row_index in rows} for folder_path in paths_list: utils.open_folder_window(folder_path)