File->Open Project allows to load .amf files

This commit is contained in:
Enrico Turri 2019-05-15 10:23:02 +02:00
parent 68bffee102
commit 8ae1dfd4d0
4 changed files with 23 additions and 11 deletions

View file

@ -145,7 +145,7 @@ void MainFrame::update_title()
wxString title = wxEmptyString;
if (m_plater != nullptr)
{
wxString project = from_path(into_path(m_plater->get_project_filename()).filename());
wxString project = from_path(into_path(m_plater->get_project_filename()).stem());
if (!project.empty())
title += (project + " - ");
}