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:
RKrom 2010-09-22 09:41:19 +00:00
commit 7066a5e6ee
7 changed files with 247 additions and 60 deletions

View file

@ -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;