mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 12:46:06 +08:00
Added comments
This commit is contained in:
parent
11a04f918b
commit
7f37f82ad4
@ -270,6 +270,11 @@ void ObjectList::set_tooltip_for_item(const wxPoint& pt)
|
|||||||
HitTest(pt, item, col);
|
HitTest(pt, item, col);
|
||||||
if (!item) return;
|
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)
|
if (col->GetTitle() == " " && GetSelectedItemsCount()<2)
|
||||||
GetMainWindow()->SetToolTip(_(L("Right button click the icon to change the object settings")));
|
GetMainWindow()->SetToolTip(_(L("Right button click the icon to change the object settings")));
|
||||||
else if (col->GetTitle() == _("Name"))
|
else if (col->GetTitle() == _("Name"))
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define slic3r_GUI_ObjectManipulation_hpp_
|
#define slic3r_GUI_ObjectManipulation_hpp_
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <wx/string.h>
|
#include <wx/wx.h>
|
||||||
|
|
||||||
#include "GUI_ObjectSettings.hpp"
|
#include "GUI_ObjectSettings.hpp"
|
||||||
#include "GLCanvas3D.hpp"
|
#include "GLCanvas3D.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user