mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-02 19:49:59 +01:00
Improve files names extension for Gnome DE and Flatpak
This commit is contained in:
@@ -48,7 +48,7 @@ nomenclature::~nomenclature() {
|
||||
bool nomenclature::saveToCSVFile()
|
||||
{
|
||||
// SAVE IN FILE
|
||||
QString name = QObject::tr("nomenclature_") + QString(m_project -> title());
|
||||
QString name = QObject::tr("nomenclature_") + QString(m_project -> title() + ".csv");
|
||||
if (!name.endsWith(".csv")) {
|
||||
name += ".csv";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user