Opened 11 years ago

Closed 11 years ago

#802 closed task (fixed)

Append ".mas" when saving a style file

Reported by: Colin Marquardt Owned by: Chris Browet
Priority: minor Milestone:
Component: merkaartor Version:
Keywords: Cc:

Description

It would be nice if Merkaartor appended a ".mas" suffix to the file name when saving a style file, unless the user typed it in already.

Attachments (1)

MainWindow-ticket_802.patch (485 bytes) - added by rullzer 11 years ago.
patch to append mas extention

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by Chris Browet

Owner: changed from bvh-osm@… to Chris Browet
Status: newassigned

comment:2 Changed 11 years ago by Chris Browet

Looks like it already does on windows (although ".mas" seems to be registered to Microsoft Access)

comment:3 Changed 11 years ago by rullzer

It doesn't do it on Linux. However here is a patch to make it work. Just 3 lines of code. Just check for file extension if it is not there append it.

Could someone check it on Windows and insert it into the svn?

Changed 11 years ago by rullzer

Attachment: MainWindow-ticket_802.patch added

patch to append mas extention

comment:4 Changed 11 years ago by richardbrinkman

Resolution: fixed
Status: assignedclosed

(In [10917]) FIX: added .mas extention when saving style map (closes #802)

Note: See TracTickets for help on using tickets.