mirror of
https://github.com/reactos/reactosdbg.git
synced 2024-11-23 11:49:53 +00:00
-fix save toolbar button
-handle save for console window svn path=/trunk/tools/reactosdbg/; revision=1023
This commit is contained in:
parent
8d117a4ad2
commit
482df83a65
@ -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();
|
||||
|
1
RosDBG/MainWindow.Designer.cs
generated
1
RosDBG/MainWindow.Designer.cs
generated
@ -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
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user