Change title for import model .. now it could import also SVG but not ".PRUSA" files.

This commit is contained in:
Filip Sykala - NTB T15p 2023-11-02 19:41:41 +01:00
parent c6dbd0a6cd
commit 5a43a70e16
2 changed files with 2 additions and 2 deletions

View File

@ -2059,7 +2059,7 @@ void GUI_App::import_model(wxWindow *parent, wxArrayString& input_files) const
{
input_files.Clear();
wxFileDialog dialog(parent ? parent : GetTopWindow(),
_L("Choose one or more files (STL/3MF/STEP/OBJ/AMF/PRUSA):"),
_L("Choose one or more files (STL/3MF/STEP/OBJ/AMF/SVG):"),
from_u8(app_config->get_last_dir()), "",
file_wildcards(FT_MODEL), wxFD_OPEN | wxFD_MULTIPLE | wxFD_FILE_MUST_EXIST);

View File

@ -1744,7 +1744,7 @@ void MainFrame::quick_slice(const int qs)
// select input file
if (!(qs & qsReslice)) {
wxFileDialog dlg(this, _L("Choose a file to slice (STL/OBJ/AMF/3MF/PRUSA):"),
wxFileDialog dlg(this, _L("Choose a file to slice (STL/OBJ/AMF/3MF/SVG):"),
wxGetApp().app_config->get_last_dir(), "",
file_wildcards(FT_MODEL), wxFD_OPEN | wxFD_FILE_MUST_EXIST);
if (dlg.ShowModal() != wxID_OK)