Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-06-20 13:56:23 +0300
committerYuSanka <yusanka@gmail.com>2019-06-20 13:56:23 +0300
commitfe395546f0cec0aa6fd6c5333f71c73b812ea56c (patch)
tree5373fabf404efa22dc71b6bc0bce3ddddcb5264d /src/slic3r/GUI/GUI_ObjectManipulation.cpp
parent09f4831f4eba9fd5190d974904945f8c5c79b99f (diff)
Added "info" tooltip for a LockButton on Manipulation panel (#2539)
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectManipulation.cpp')
-rw-r--r--src/slic3r/GUI/GUI_ObjectManipulation.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp
index 310000ecc..372cd79ef 100644
--- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp
+++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp
@@ -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();
}
{