mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 23:08:11 +08:00
Fix layer name text input (#2081)
This commit is contained in:
@@ -1631,7 +1631,7 @@ impl NodeGraphMessageHandler {
|
|||||||
Separator::new(SeparatorType::Related).widget_holder(),
|
Separator::new(SeparatorType::Related).widget_holder(),
|
||||||
IconLabel::new("Layer").tooltip("Name of the selected layer").widget_holder(),
|
IconLabel::new("Layer").tooltip("Name of the selected layer").widget_holder(),
|
||||||
Separator::new(SeparatorType::Related).widget_holder(),
|
Separator::new(SeparatorType::Related).widget_holder(),
|
||||||
TextInput::new(context.document_name)
|
TextInput::new(context.network_interface.frontend_display_name(&layer, context.selection_network_path))
|
||||||
.on_update(move |text_input| {
|
.on_update(move |text_input| {
|
||||||
NodeGraphMessage::SetDisplayName {
|
NodeGraphMessage::SetDisplayName {
|
||||||
node_id: layer,
|
node_id: layer,
|
||||||
|
|||||||
Reference in New Issue
Block a user