Feature request #2776

Composer doesnt add suffix for some filetypes

Added by Nikos Ves over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:-
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:12836

Description

  • Saving file in a specified format does not append the file
    extensions. This was observed in the Map/Print Composer. Although a
    pdf filetype was activated, we had to create a complete filename with
    the extension (i.e "map.pdf" and not "map") in order to save the file
    with the extension.

I attach the modified .ccp that fixes the problem for pdf and svg file type.
Im not familiar creating diff files, so please excuse me :(

qgscomposer.cpp Magnifier - modified source file, fixing the problem (47.3 KB) Nikos Ves, 2010-06-02 05:51 AM

History

#1 Updated by Marco Hugentobler over 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Please attach a diff next time. You can generate it like this:
svn diff &> mydifffile.diff

Then attach difffile to the ticket.

Your changes are applied in 0686e230 (SVN r13629) (with modification to also test for the dot). Thanks!

Also available in: Atom PDF