Linux specific: Fixed ObjectDataViewModel::GetColumnType()

When "string" type was returned, strange editing TextControl was appeared.
+ Added check of the selection for ObjectList::toggle_printable_state() function
This commit is contained in:
YuSanka 2021-05-10 17:57:17 +02:00
parent 426d2cd725
commit b87c03fc09
3 changed files with 12 additions and 1 deletions
src/slic3r/GUI

View file

@ -3909,6 +3909,8 @@ void ObjectList::toggle_printable_state()
{
wxDataViewItemArray sels;
GetSelections(sels);
if (sels.IsEmpty())
return;
wxDataViewItem frst_item = sels[0];