Fixed a bug with a "gear" button near the filament preset (part of #2440)

This commit is contained in:
YuSanka 2019-06-03 14:52:15 +02:00
parent 3d8bd85187
commit 0ee0b546df
3 changed files with 11 additions and 1 deletions

View file

@ -321,7 +321,7 @@ wxBitmapComboBox(parent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(15 *
/* In a case of a multi-material printing, for editing another Filament Preset
* it's needed to select this preset for the "Filament settings" Tab
*/
if (preset_type == Preset::TYPE_FILAMENT && wxGetApp().extruders_cnt() > 1)
if (preset_type == Preset::TYPE_FILAMENT && wxGetApp().extruders_edited_cnt() > 1)
{
const std::string& selected_preset = GetString(GetSelection()).ToUTF8().data();