mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
File wildcards now include an extension of a file provided
as a default. This is useful for the G-code or SLA export, as one may chose his own file extension for the export file.
This commit is contained in:
parent
ce6937c725
commit
fbbfcf70d3
5 changed files with 38 additions and 26 deletions
|
@ -296,7 +296,7 @@ void BedShapePanel::update_shape()
|
|||
void BedShapePanel::load_stl()
|
||||
{
|
||||
auto dialog = new wxFileDialog(this, _(L("Choose a file to import bed shape from (STL/OBJ/AMF/3MF/PRUSA):")), "", "",
|
||||
file_wildcards[FT_MODEL], wxFD_OPEN | wxFD_FILE_MUST_EXIST);
|
||||
file_wildcards(FT_MODEL), wxFD_OPEN | wxFD_FILE_MUST_EXIST);
|
||||
if (dialog->ShowModal() != wxID_OK) {
|
||||
dialog->Destroy();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue