mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 03:35:52 +08:00
Change title for import model .. now it could import also SVG but not ".PRUSA" files.
This commit is contained in:
parent
c6dbd0a6cd
commit
5a43a70e16
@ -2059,7 +2059,7 @@ void GUI_App::import_model(wxWindow *parent, wxArrayString& input_files) const
|
|||||||
{
|
{
|
||||||
input_files.Clear();
|
input_files.Clear();
|
||||||
wxFileDialog dialog(parent ? parent : GetTopWindow(),
|
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()), "",
|
from_u8(app_config->get_last_dir()), "",
|
||||||
file_wildcards(FT_MODEL), wxFD_OPEN | wxFD_MULTIPLE | wxFD_FILE_MUST_EXIST);
|
file_wildcards(FT_MODEL), wxFD_OPEN | wxFD_MULTIPLE | wxFD_FILE_MUST_EXIST);
|
||||||
|
|
||||||
|
@ -1744,7 +1744,7 @@ void MainFrame::quick_slice(const int qs)
|
|||||||
|
|
||||||
// select input file
|
// select input file
|
||||||
if (!(qs & qsReslice)) {
|
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(), "",
|
wxGetApp().app_config->get_last_dir(), "",
|
||||||
file_wildcards(FT_MODEL), wxFD_OPEN | wxFD_FILE_MUST_EXIST);
|
file_wildcards(FT_MODEL), wxFD_OPEN | wxFD_FILE_MUST_EXIST);
|
||||||
if (dlg.ShowModal() != wxID_OK)
|
if (dlg.ShowModal() != wxID_OK)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user