WSL/SLF GitLab Repository

Commit f579dfa5 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

trying to get a better name for temporary ini previews...

parent b891a2e7
......@@ -255,7 +255,7 @@ void PreviewWindow::addIniTab(const QString& infile)
if (file_info.exists()) //avoid warning
file_path = file_info.absolutePath();
if (file_name.isEmpty()) { //pick file name if no INI is opened yet
file_name = "GUI-"+QString::number(unsaved_ini_counter)+".ini";
file_name = "unsaved("+QString::number(unsaved_ini_counter)+")";
unsaved_ini_counter++;
} else if (fromGUI) { //only for ini files coming from the GUI
INIParser gui_ini = getMainWindow()->getIniCopy();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment