Fix export command line option causing SEGFAULT
Fix issues #44 (closed)
Bug was added in commit 08d0e3fc.
It was caused when splitting the two functions draw_trace
and build_trace
The update of the Recent File
menu was moved to build_trace
.
But build_trace
could be called when exporting in command line
which does not open the main_window so the update could not occur