Next try
This commit is contained in:
parent
6ddefc6a65
commit
3eacb0a216
3 changed files with 6 additions and 5 deletions
|
@ -1886,8 +1886,8 @@ void ObjectList::part_selection_changed()
|
|||
|
||||
if (item) {
|
||||
wxGetApp().obj_manipul()->get_og()->set_value("object_name", m_objects_model->GetName(item));
|
||||
const wxString& tooltip = get_mesh_errors_list(obj_idx, volume_id);
|
||||
wxGetApp().obj_manipul()->update_manifold_warning_icon_state(tooltip);
|
||||
const wxString tooltip = get_mesh_errors_list(obj_idx, volume_id);
|
||||
wxGetApp().obj_manipul()->update_warning_icon_state(tooltip);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
|
|||
return;
|
||||
|
||||
wxGetApp().obj_list()->fix_through_netfabb();
|
||||
update_manifold_warning_icon_state(wxGetApp().obj_list()->get_mesh_errors_list());
|
||||
update_warning_icon_state(wxGetApp().obj_list()->get_mesh_errors_list());
|
||||
});
|
||||
|
||||
return sizer;
|
||||
|
@ -365,7 +365,7 @@ void ObjectManipulation::emulate_kill_focus()
|
|||
on_change(option, 0);
|
||||
}
|
||||
|
||||
void ObjectManipulation::update_manifold_warning_icon_state(const wxString& tooltip)
|
||||
void ObjectManipulation::update_warning_icon_state(const wxString& tooltip)
|
||||
{
|
||||
m_fix_throught_netfab_bitmap->SetBitmap(tooltip.IsEmpty() ? wxNullBitmap : m_manifold_warning_bmp.bmp());
|
||||
m_fix_throught_netfab_bitmap->SetToolTip(tooltip);
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
class wxStaticText;
|
||||
class LockButton;
|
||||
class wxStaticBitmap;
|
||||
class wxString;
|
||||
|
||||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
@ -111,7 +112,7 @@ public:
|
|||
void emulate_kill_focus();
|
||||
#endif // __APPLE__
|
||||
|
||||
void update_manifold_warning_icon_state(const wxString& tooltip);
|
||||
void update_warning_icon_state(const wxString& tooltip);
|
||||
void msw_rescale();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue