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

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