diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/ObjectModel.cpp | 2 | ||||
-rw-r--r-- | src/client/PluginModel.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp index 2679186b..d6e8d115 100644 --- a/src/client/ObjectModel.cpp +++ b/src/client/ObjectModel.cpp @@ -91,7 +91,7 @@ void ObjectModel::set_path(const Raul::Path& p) { _path = p; - _symbol = p.symbol(); + _symbol = Raul::Symbol(p.is_root() ? "root" : p.symbol()); _signal_moved.emit(); } diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index ab1df485..460051a7 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -159,7 +159,7 @@ PluginModel::default_node_symbol() const if (name_atom.is_valid() && name_atom.type() == _uris.forge.String) return Raul::Symbol::symbolify(name_atom.get_string()); else - return "_"; + return Raul::Symbol("_"); } string |