Allow .STL files as well as .stl

This commit is contained in:
Alessandro Ranellucci 2011-10-04 18:00:01 +02:00
parent 794b7a99d2
commit 706586f150

View File

@ -230,7 +230,7 @@ sub do_slice {
Slic3r::Config->validate; Slic3r::Config->validate;
# select input file # select input file
my $dialog = Wx::FileDialog->new($self, 'Choose a STL file to slice:', "", "", "*.stl", wxFD_OPEN); my $dialog = Wx::FileDialog->new($self, 'Choose a STL file to slice:', "", "", "STL files *.stl|*.stl;*.STL", wxFD_OPEN);
return unless $dialog->ShowModal == wxID_OK; return unless $dialog->ShowModal == wxID_OK;
my ($input_file) = $dialog->GetPaths; my ($input_file) = $dialog->GetPaths;
my $input_file_basename = basename($input_file); my $input_file_basename = basename($input_file);