Prefill input dialog with old name when renaming GS playlist
This commit is contained in:
parent
0af197f6a1
commit
cb1b4483ea
@ -1219,7 +1219,8 @@ void GroovesharkService::RenamePlaylist(int playlist_id) {
|
|||||||
QString new_name = QInputDialog::getText(NULL,
|
QString new_name = QInputDialog::getText(NULL,
|
||||||
tr("Rename \"%1\" playlist").arg(old_name),
|
tr("Rename \"%1\" playlist").arg(old_name),
|
||||||
tr("Name"),
|
tr("Name"),
|
||||||
QLineEdit::Normal);
|
QLineEdit::Normal,
|
||||||
|
old_name);
|
||||||
if (new_name.isEmpty()) {
|
if (new_name.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user