Resize organize window when copying to device

Fixes #566
This commit is contained in:
Jonas Kvinge
2020-10-27 17:50:16 +01:00
parent 0ddff2b087
commit 09e0059930
5 changed files with 85 additions and 24 deletions

View File

@@ -385,7 +385,7 @@ void PlaylistListContainer::CopyToDevice() {
// Reuse the organize dialog, but set the detail about the playlist name
if (!organize_dialog_) {
organize_dialog_.reset(new OrganizeDialog(app_->task_manager()));
organize_dialog_.reset(new OrganizeDialog(app_->task_manager(), nullptr, this));
}
organize_dialog_->SetDestinationModel(app_->device_manager()->connected_devices_model(), true);
organize_dialog_->SetCopy(true);