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-06-01 17:03:20 +00:00
committed by Wayne Stambaugh
parent 247da631f9
commit 33c0bb78fd
+2 -1
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;