mirror of
https://github.com/leozide/leocad
synced 2025-01-29 20:34:50 +01:00
Fixed double dot on file names when saving images.
This commit is contained in:
parent
51674eeec7
commit
474c9058ba
1 changed files with 1 additions and 1 deletions
|
@ -1669,7 +1669,7 @@ void Project::SaveImage()
|
|||
{
|
||||
Options.FileName = mFileName;
|
||||
QString Extension = QFileInfo(Options.FileName).suffix();
|
||||
Options.FileName = Options.FileName.left(Options.FileName.length() - Extension.length());
|
||||
Options.FileName = Options.FileName.left(Options.FileName.length() - Extension.length() - 1);
|
||||
}
|
||||
else
|
||||
Options.FileName = QLatin1String("image");
|
||||
|
|
Loading…
Add table
Reference in a new issue