diff --git a/src/propertieswidget.cpp b/src/propertieswidget.cpp index c0f60c937..a6ff366d1 100644 --- a/src/propertieswidget.cpp +++ b/src/propertieswidget.cpp @@ -409,7 +409,7 @@ QPushButton* PropertiesWidget::getButtonFromIndex(int index) { return url_seeds_button; case FILES_TAB: return files_button; - default: + default: return main_infos_button; } } @@ -613,9 +613,12 @@ void PropertiesWidget::renameSelectedFile() { // Replace path in all files for(int i=0; isetData(index, new_name_last); diff --git a/src/torrentadditiondlg.h b/src/torrentadditiondlg.h index 06825c7db..f477c069c 100644 --- a/src/torrentadditiondlg.h +++ b/src/torrentadditiondlg.h @@ -350,10 +350,13 @@ public slots: // Replace path in all files for(uint i=0; isetData(index, new_name_last);