Only show filename and not any folders.

pull/738/head
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. // On Linux/macOS, this replaces $HOME with "~" to shorten the title a bit.
wxFileName fn(configPath); wxFileName fn(configPath);
fn.ReplaceEnvVariable("HOME", "~"); customConfigFileName = fn.GetFullName();
customConfigFileName = fn.GetShortPath();
} }
pConfig->SetRecordDefaults(); pConfig->SetRecordDefaults();