def METHOD_NAME(self, checked):
    if self.window().create_torrent_files_list.count() == 0:
        self.dialog = ConfirmationDialog(
            self, "Notice", "You should add at least one file to your torrent.", [('CLOSE', BUTTON_TYPE_NORMAL)]
        )
        connect(self.dialog.button_clicked, self.on_dialog_ok_clicked)
        self.dialog.show()
        return
    self.window().edit_channel_create_torrent_button.setEnabled(False)
    files_list = []
    for ind in range(self.window().create_torrent_files_list.count()):
        file_str = self.window().create_torrent_files_list.item(ind).text()
        files_list.append(file_str)
    name = self.window().create_torrent_name_field.text()
    description = self.window().create_torrent_description_field.toPlainText()
    is_seed = self.window().seed_after_adding_checkbox.isChecked()
    request_manager.post('createtorrent', self.on_torrent_created,
                         data={"name": name, "description": description, "files": files_list},
                         url_params={'download': 1} if is_seed else None)
    # Show creating torrent text
    self.window().edit_channel_create_torrent_progress_label.show()