CAM: Show abbreviations next to properly labels in the toolbit editor (#21887)
This commit is contained in:
@@ -49,7 +49,9 @@ class ToolBitPropertiesWidget(QtGui.QWidget):
|
||||
self._id_label = QtGui.QLabel() # Read-only ID
|
||||
self._id_label.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
|
||||
|
||||
self._property_editor = DocumentObjectEditorWidget()
|
||||
theicon = toolbit.get_icon() if toolbit else None
|
||||
abbr = theicon.abbreviations if theicon else {}
|
||||
self._property_editor = DocumentObjectEditorWidget(property_suffixes=abbr)
|
||||
self._property_editor.setSizePolicy(
|
||||
QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user