Login  Register

Greetings!

Posted by dan@sstrev.com on Mar 30, 2012; 12:08am
URL: https://forum.librecad.org/Greetings-tp5605322.html

Hello all!
  My name is Daniel and I am looking to contribute to LibreCAD as I can. I was unable to determine how this community handles contributions and was ever hopeful someone could direct me in that matter. Currently I am working off of a fork of master.

As a means for example I have created a patch to fix a slight oddity with the SaveAs dialog. After saving a file to a folder (say folder X), closing the program, reopening the program, the default directory would be the directory above X and the file name would be the name of folder X.

This patch first removes an unnecessary break in the function QG_FileDialog::getExtension

The second part reworks most of the function QG_FileDialog::getSaveFile in order to prevent the above and gives a default name of Untitled (where an incrementing # is added if Untitled already exists)

The patch is attached bellow:
patch.diff