Use the correct update mode for device-restore database write

This commit is contained in:
Colin Guthrie 2009-06-28 17:24:57 +01:00
parent 375c2c2d62
commit c813bb9e3f
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ void DeviceWidget::renamePopup() {
info[0].name = key;
info[0].description = renameText->get_text().c_str();
if (!(o = pa_ext_device_manager_write(get_context(), PA_UPDATE_MERGE, info, 1, 1, NULL, NULL))) {
if (!(o = pa_ext_device_manager_write(get_context(), PA_UPDATE_REPLACE, info, 1, 1, NULL, NULL))) {
show_error(_("pa_ext_device_manager_write() failed"));
return;
}