mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Refactoring for new patterns and added the other projects to the solution, so refactoring is always made over all files.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@895 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
750564882c
commit
7066a5e6ee
7 changed files with 247 additions and 60 deletions
|
@ -607,10 +607,11 @@ namespace Greenshot {
|
|||
/// </summary>
|
||||
private void ContextMenuDoubleClick(object sender, EventArgs eventArgs) {
|
||||
string path;
|
||||
string configPath = FilenameHelper.FillVariables(conf.OutputFilePath);
|
||||
if (lastImagePath != null && Directory.Exists(lastImagePath)) {
|
||||
path = lastImagePath;
|
||||
} else if (Directory.Exists(conf.OutputFilePath)) {
|
||||
path = conf.OutputFilePath;
|
||||
} else if (Directory.Exists(configPath)) {
|
||||
path = configPath;
|
||||
} else {
|
||||
// What do I open when nothing can be found? Right, nothing...
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue