parallaxinc / PropellerIDE

An easy-to-use, cross-platform IDE for the Parallax Propeller
GNU General Public License v3.0
70 stars 26 forks source link

Qt str.append modifies the original string #53

Open totalspectrum opened 6 years ago

totalspectrum commented 6 years ago

This caused extensions to be added twice in some cases. Instead of "outfile = basefile.append(pattern_out)" (which modifies the original basefile), use "outfile = basefile; outfile += pattern_out".

avsa242 commented 6 years ago

Hah! I bet this fixes #43 (https://github.com/parallaxinc/PropellerIDE/issues/43). I tried to fix that one but had a feeling my solution wasn't the right way... Will have to try this when I get home.

avsa242 commented 6 years ago

Guess it took me a long time to get home - I finally had a chance to test this for myself, and it fixes #43 for me.