dmitrysenkovich

Untitled

Sep 10th, 2014
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.75 KB | None | 0 0
  1. Index: Constructor/UI/MainWindow.cs
  2. ===================================================================
  3. --- Constructor/UI/MainWindow.cs    (revision 6406)
  4. +++ Constructor/UI/MainWindow.cs    (working copy)
  5. @@ -3910,7 +3910,7 @@
  6.  
  7.          private void viewTaxiwaysToolStripMenuItem_Click(object sender, EventArgs e)
  8.          {
  9. -            var airfield = GetCategoryByTreeNode(projectTreeView.SelectedNode);
  10. +            var airfield = GetCategoryByTreeNode(projectTreeView.SelectedNode.Parent);
  11.              var rn4 = AppEnv.Instance.terrainConfig.GetTaxiwaysOutPath(airfield as AirfieldCategory);
  12.              var launcher = new MapViewerLauncher("View Taxiways");
  13.              launcher.LaunchRoadNetworkViewer(rn4);
  14. Index: Constructor/UI/MainWindow.Designer.cs
  15. ===================================================================
  16. --- Constructor/UI/MainWindow.Designer.cs   (revision 6406)
  17. +++ Constructor/UI/MainWindow.Designer.cs   (working copy)
  18. @@ -1204,6 +1204,7 @@
  19.              this.editInMapViewerToolStripMenuItem,
  20.              this.editInLandViewerToolStripMenuItem,
  21.              this.copyOffshorePathToClipboard_toolStripMenuItem,
  22. +            this.viewTaxiwaysToolStripMenuItem,
  23.              this.toolStripSeparator37,
  24.              this.dumpReferences_offshore_toolStripMenuItem,
  25.              this.viewReferences_offshore_ToolStripMenuItem,
  26. @@ -2039,7 +2040,6 @@
  27.              //
  28.              this.airfield_contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  29.              this.airfieldSettingsToolStripMenuItem,
  30. -            this.viewTaxiwaysToolStripMenuItem,
  31.              this.toolStripSeparator47,
  32.              this.excludeFromBuildAirfieldToolStripMenuItem,
  33.              this.excludeAllItemsFromBuildSpaceToolStripMenuItem2,
Advertisement
Add Comment
Please, Sign In to add comment