Merge pull request #2048 from LDAP/patch-1
This commit is contained in:
commit
5b6e9d4e34
|
@ -173,7 +173,8 @@ void waybar::modules::Wireplumber::onDefaultNodesApiChanged(waybar::modules::Wir
|
||||||
spdlog::debug(
|
spdlog::debug(
|
||||||
"[{}]: (onDefaultNodesApiChanged) - Default node changed to -> Node(name: {}, id: {})",
|
"[{}]: (onDefaultNodesApiChanged) - Default node changed to -> Node(name: {}, id: {})",
|
||||||
self->name_, default_node_name, default_node_id);
|
self->name_, default_node_name, default_node_id);
|
||||||
|
|
||||||
|
g_free(self->default_node_name_);
|
||||||
self->default_node_name_ = g_strdup(default_node_name);
|
self->default_node_name_ = g_strdup(default_node_name);
|
||||||
updateVolume(self, default_node_id);
|
updateVolume(self, default_node_id);
|
||||||
updateNodeName(self, default_node_id);
|
updateNodeName(self, default_node_id);
|
||||||
|
|
Loading…
Reference in New Issue