Only show filename and not any folders.

ms-config-path-in-title
Mooneer Salem 2024-08-22 15:45:57 -07:00
parent c79d5a6fac
commit e4bc3ce982
1 changed files with 2 additions and 4 deletions

View File

@ -207,9 +207,7 @@ bool MainApp::OnCmdLineParsed(wxCmdLineParser& parser)
// On Linux/macOS, this replaces $HOME with "~" to shorten the title a bit.
wxFileName fn(configPath);
fn.ReplaceEnvVariable("HOME", "~");
customConfigFileName = fn.GetShortPath();
customConfigFileName = fn.GetFullName();
}
pConfig->SetRecordDefaults();