Resolve "Component: Text Element Navigator" #67

Merged
thorsten merged 43 commits from 11-component-text-element-navigator into main 2022-07-23 19:29:16 +00:00
Showing only changes of commit 6b49b3f3e7 - Show all commits
@@ -192,7 +192,7 @@ public partial class SectionTree : UserControl
return; return;
// Get the currently selected section: // Get the currently selected section:
var selectedNode = this.treeView.SelectedNode; var selectedNode = e.Node;
// If the selected node is not null, enable the remove & edit button: // If the selected node is not null, enable the remove & edit button:
this.buttonRename.Enabled = this.buttonRemove.Enabled = selectedNode is not null; this.buttonRename.Enabled = this.buttonRemove.Enabled = selectedNode is not null;