Fixes for refactoring the save method (added boolean for reduce colors)

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1710 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-03-20 05:53:41 +00:00
commit bae0b6c34a
8 changed files with 16 additions and 9 deletions

View file

@ -403,8 +403,8 @@ namespace Greenshot {
} catch {}
break;
case CommandEnum.OpenFile:
LOG.InfoFormat("Open file requested: {0}", filename);
string filename = command.Value;
LOG.InfoFormat("Open file requested: {0}", filename);
if (File.Exists(filename)) {
BeginInvoke((MethodInvoker)delegate {
CaptureHelper.CaptureFile(filename);