86 |
86 |
87 const str license = |
87 const str license = |
88 ui.rb_license_ca->isChecked() ? CALicense : |
88 ui.rb_license_ca->isChecked() ? CALicense : |
89 ui.rb_license_nonca->isChecked() ? NonCALicense : ""; |
89 ui.rb_license_nonca->isChecked() ? NonCALicense : ""; |
90 |
90 |
91 LDFile::current()->addObjects ({new LDComment (ui.le_title->text()), |
91 LDFile::current()->addObjects ({ |
|
92 new LDComment (ui.le_title->text()), |
92 new LDComment ("Name: <untitled>.dat" ), |
93 new LDComment ("Name: <untitled>.dat" ), |
93 new LDComment (fmt ("Author: %1", ui.le_author->text())), |
94 new LDComment (fmt ("Author: %1", ui.le_author->text())), |
94 new LDComment (fmt ("!LDRAW_ORG Unofficial_Part")), |
95 new LDComment (fmt ("!LDRAW_ORG Unofficial_Part")), |
95 (license != "" ? |
96 (license != "" ? |
96 new LDComment (license) : |
97 new LDComment (license) : |