TRSE icon indicating copy to clipboard operation
TRSE copied to clipboard

TRT - Create music file and file paths

Open AndyHOvine opened this issue 3 years ago • 1 comments

When creating a new TRT file on Windows, it is opened in the editor and '/' forward slashes are used for folders:

image

Save it and go to the file list to open it, a duplicate is opened as the file path for folders use '' back slashes.

On Windows it looks like other files also use '' backslashes, so need the new TRT creation to use \ as well.

AndyHOvine avatar Mar 12 '21 14:03 AndyHOvine

Not directly related but also on Windows when creating a new project through a dialog, it fails to create a directory and main ras file. The solution is to create project directory after OK button is clicked:

void DialogNewProject::on_btnOk_clicked()
{
    ok = true;
    QDir().mkpath(m_dir);
    m_ini->setString("default_project_dir",ui->leProjectDir->text());
    close();
}

Added QDir().mkpath(m_dir);

r1me avatar Apr 30 '21 21:04 r1me