mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Fix for [#1462] where the filename is wrongly cropped.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2529 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
733adc99e4
commit
f8fec5ebe0
1 changed files with 1 additions and 4 deletions
|
@ -175,10 +175,7 @@ namespace GreenshotPlugin.Controls {
|
|||
/// <param name="sfd">a SaveFileDialog instance</param>
|
||||
private void ApplySuggestedValues() {
|
||||
// build the full path and set dialog properties
|
||||
string filenameFromPattern = FilenameHelper.GetFilenameWithoutExtensionFromPattern(conf.OutputFileFilenamePattern, captureDetails);
|
||||
|
||||
FileName = Path.GetFileNameWithoutExtension(filenameFromPattern);
|
||||
Extension = Path.GetExtension(filenameFromPattern);
|
||||
FileName = FilenameHelper.GetFilenameWithoutExtensionFromPattern(conf.OutputFileFilenamePattern, captureDetails);
|
||||
}
|
||||
|
||||
private string GetRootDirFromConfig() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue