ENH:replace reset icon to unlock

Change-Id: Id46e9aad3b31c67d48651478525cc4a5dc512382
This commit is contained in:
liz.li 2022-07-29 14:30:08 +08:00 committed by Lane.Wei
parent 2dba113512
commit 1ce994fda3
6 changed files with 15 additions and 18 deletions

View file

@ -196,7 +196,7 @@ void ObjectDataViewModelNode::set_printable_icon(PrintIndicator printable)
void ObjectDataViewModelNode::set_action_icon(bool enable)
{
m_action_enable = enable;
auto undo = enable ? "undo" : "dot";
auto undo = enable ? "lock_normal" : "dot";
m_action_icon_name = m_type & itPlate ? "dot" :
m_type & itObject ? undo :
m_type & (itVolume | itLayer) ? undo : /*m_type & itInstance*/ "set_separate_obj";