Only show filename and not any folders.
parent
c79d5a6fac
commit
e4bc3ce982
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue