author | moel.mich |
Tue, 05 Oct 2010 18:59:13 +0000 | |
changeset 211 | 88131b86378b |
parent 210 | be7dc4a856aa |
child 212 | 7e98c9e1a4f4 |
GUI/MainForm.cs | file | annotate | diff | revisions |
1.1 --- a/GUI/MainForm.cs Mon Oct 04 17:34:58 2010 +0000 1.2 +++ b/GUI/MainForm.cs Tue Oct 05 18:59:13 2010 +0000 1.3 @@ -418,7 +418,7 @@ 1.4 }; 1.5 sensorContextMenu.MenuItems.Add(item); 1.6 } 1.7 - { 1.8 + if (gadget != null) { 1.9 MenuItem item = new MenuItem("Show in Gadget"); 1.10 item.Checked = gadget.Contains(node.Sensor); 1.11 item.Click += delegate(object obj, EventArgs args) {