Skip to content

Commit c27d8dc

Browse files
authored
Fix layer name text input (#2081)
1 parent ff8fec6 commit c27d8dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/src/messages/portfolio/document/node_graph/node_graph_message_handler.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ impl NodeGraphMessageHandler {
16311631
Separator::new(SeparatorType::Related).widget_holder(),
16321632
IconLabel::new("Layer").tooltip("Name of the selected layer").widget_holder(),
16331633
Separator::new(SeparatorType::Related).widget_holder(),
1634-
TextInput::new(context.document_name)
1634+
TextInput::new(context.network_interface.frontend_display_name(&layer, context.selection_network_path))
16351635
.on_update(move |text_input| {
16361636
NodeGraphMessage::SetDisplayName {
16371637
node_id: layer,

0 commit comments

Comments
 (0)