Added "info" tooltip for a LockButton on Manipulation panel (#2539)

This commit is contained in:
YuSanka committed 2019-06-20 12:56:23 +02:00
1 parent 09f4831f4e
commit fe395546f0
3 files changed
+13 -3

No files matched your search

+4 -2
View File
@@ -499,11 +499,13 @@ void ObjectManipulation::update_if_dirty()
if (selection.requires_uniform_scale()) {
m_lock_bnt->SetLock(true);
m_lock_bnt->Disable();
m_lock_bnt->SetToolTip(_(L("You cann't use non-uniform scaling mode for multiple objects/parts selection")));
m_lock_bnt->disable();
}
else {
m_lock_bnt->SetLock(m_uniform_scale);
m_lock_bnt->Enable();
m_lock_bnt->SetToolTip(wxEmptyString);
m_lock_bnt->enable();
}
{