From 33c0bb78fdddec555ee67d1aa2ea752e0d5c8e62 Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Mon, 31 May 2021 23:26:05 +0200 Subject: [PATCH] Use file absolute path when determining title bar indicators Fixes https://gitlab.com/kicad/code/kicad/issues/8449 --- eeschema/sim/sim_plot_frame.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index c787aef01d..5c8cd1c735 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -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;