mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 10:47:02 -07:00
Merge from 0.8: Fixed open recent (tray-icon context menu) and added the "save" icon to the SaveAs in the editor menu
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1288 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
0ff3c6908c
commit
9e0a754032
2 changed files with 4 additions and 2 deletions
1
Greenshot/Forms/ImageEditorForm.Designer.cs
generated
1
Greenshot/Forms/ImageEditorForm.Designer.cs
generated
|
@ -427,6 +427,7 @@ namespace Greenshot {
|
|||
//
|
||||
// saveAsToolStripMenuItem
|
||||
//
|
||||
this.saveAsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
|
||||
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
|
||||
this.saveAsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
| System.Windows.Forms.Keys.S)));
|
||||
|
|
|
@ -780,8 +780,9 @@ namespace Greenshot {
|
|||
private void Contextmenu_OpenRecent(object sender, EventArgs eventArgs) {
|
||||
string path;
|
||||
string configPath = FilenameHelper.FillVariables(conf.OutputFilePath);
|
||||
if (File.Exists(conf.OutputFileAsFullpath)) {
|
||||
path = conf.OutputFileAsFullpath;
|
||||
string lastFilePath = Path.GetDirectoryName(conf.OutputFileAsFullpath);
|
||||
if (Directory.Exists(lastFilePath)) {
|
||||
path = lastFilePath;
|
||||
} else if (Directory.Exists(configPath)) {
|
||||
path = configPath;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue