Use file absolute path when determining title bar indicators

Fixes https://gitlab.com/kicad/code/kicad/issues/8449
This commit is contained in:
Mikolaj Wielgus 2021-05-31 23:26:05 +02:00 committed by Wayne Stambaugh
parent 247da631f9
commit 33c0bb78fd
1 changed files with 2 additions and 1 deletions

View File

@ -322,7 +322,8 @@ void SIM_PLOT_FRAME::initWorkbook()
void SIM_PLOT_FRAME::updateTitle()
{
wxFileName filename = m_simulator->Settings()->GetWorkbookFilename();
wxFileName filename = Prj().AbsolutePath(
m_simulator->Settings()->GetWorkbookFilename() );
bool readOnly = false;
bool unsaved = false;