ENH:replace reset icon to unlock

Change-Id: Id46e9aad3b31c67d48651478525cc4a5dc512382
This commit is contained in:
liz.li authored and Lane.Wei committed 2022-08-05 16:11:42 +08:00
1 parent 2dba113512
commit 1ce994fda3
6 files changed
+15 -18

No files matched your search

+1 -1
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";