Added comments

This commit is contained in:
YuSanka 2019-04-30 16:59:40 +02:00
parent 11a04f918b
commit 7f37f82ad4
2 changed files with 6 additions and 1 deletions
src/slic3r/GUI

View file

@ -270,6 +270,11 @@ void ObjectList::set_tooltip_for_item(const wxPoint& pt)
HitTest(pt, item, col);
if (!item) return;
/* GetMainWindow() return window, associated with wxDataViewCtrl.
* And for this window we should to set tooltips.
* Just this->SetToolTip(tooltip) => has no effect.
*/
if (col->GetTitle() == " " && GetSelectedItemsCount()<2)
GetMainWindow()->SetToolTip(_(L("Right button click the icon to change the object settings")));
else if (col->GetTitle() == _("Name"))