diff --git a/RosDBG/Dockable Objects/RawTraffic.cs b/RosDBG/Dockable Objects/RawTraffic.cs index 8e00350..afbbfef 100644 --- a/RosDBG/Dockable Objects/RawTraffic.cs +++ b/RosDBG/Dockable Objects/RawTraffic.cs @@ -119,12 +119,18 @@ namespace RosDBG { switch (Cmd) { + case Commands.Save: case Commands.SaveAs: return true; } return false; } + public override void Save(string FileName) + { + SaveAs(FileName); + } + public override void SaveAs(string FileName) { SaveFileDialog saveFileDialog = new SaveFileDialog(); diff --git a/RosDBG/MainWindow.Designer.cs b/RosDBG/MainWindow.Designer.cs index 7d5467c..8cf85ce 100644 --- a/RosDBG/MainWindow.Designer.cs +++ b/RosDBG/MainWindow.Designer.cs @@ -446,6 +446,7 @@ this.saveToolStripButton.Name = "saveToolStripButton"; this.saveToolStripButton.Size = new System.Drawing.Size(23, 22); this.saveToolStripButton.Text = "Save"; + this.saveToolStripButton.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); // // toolStripSeparator1 //