From 9e19e438181501d4581b8a4dae97eea44bb4faaf Mon Sep 17 00:00:00 2001 From: YuSanka Date: Tue, 4 Dec 2018 18:14:02 +0100 Subject: [PATCH] Fix for my last commit --- src/slic3r/GUI/wxExtensions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/wxExtensions.cpp b/src/slic3r/GUI/wxExtensions.cpp index 4b9742220..4e62089cb 100644 --- a/src/slic3r/GUI/wxExtensions.cpp +++ b/src/slic3r/GUI/wxExtensions.cpp @@ -1075,8 +1075,8 @@ bool PrusaObjectDataViewModel::IsEnabled(const wxDataViewItem &item, unsigned in wxASSERT(item.IsOk()); PrusaObjectDataViewModelNode *node = (PrusaObjectDataViewModelNode*)item.GetID(); - // disable extruder selection for the "Settings" item - return !(col == 2 && node->m_extruder.IsEmpty()); + // disable extruder selection for the non "itObject|itVolume" item + return !(col == 1 && node->m_extruder.IsEmpty()); } wxDataViewItem PrusaObjectDataViewModel::GetParent(const wxDataViewItem &item) const