Changed some more properties, now I have a way so supply "defaults" which aren't constants

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@856 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2010-08-24 10:49:48 +00:00
commit 2a1ef29b84
8 changed files with 53 additions and 19 deletions

View file

@ -157,7 +157,7 @@ namespace Greenshot.Helpers
string fileNameWithExtension = saveImageFileDialog.FileNameWithExtension;
ImageOutput.Save(image, fileNameWithExtension, captureDetails);
returnValue = fileNameWithExtension;
conf.Output_FileAs_Fullpath = fileNameWithExtension;
conf.OutputFileAsFullpath = fileNameWithExtension;
IniConfig.Save();
} catch(System.Runtime.InteropServices.ExternalException) {
MessageBox.Show(Language.GetInstance().GetFormattedString(LangKey.error_nowriteaccess,saveImageFileDialog.FileName).Replace(@"\\",@"\"), Language.GetInstance().GetString(LangKey.error));