Skip to content

Commit a11077a

Browse files
committed
fix: restore info section expanded state
1 parent 6dca441 commit a11077a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

commands/commandCreateBaseplate/entry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,9 @@ def command_created(args: adsk.core.CommandCreatedEventArgs):
164164
defaultLengthUnits = app.activeProduct.unitsManager.defaultLengthUnits
165165

166166
infoGroup = inputs.addGroupCommandInput(INFO_GROUP, 'Info')
167-
infoGroup.children.addTextBoxCommandInput("info_text", "Info", INFO_TEXT, 3, True)
167+
infoGroup.isExpanded = uiState.getState(INFO_GROUP)
168168
uiState.registerCommandInput(infoGroup)
169+
infoGroup.children.addTextBoxCommandInput("info_text", "Info", INFO_TEXT, 3, True)
169170

170171
basicSizesGroup = inputs.addGroupCommandInput(BASIC_SIZES_GROUP, 'Basic size')
171172
basicSizesGroup.isExpanded = uiState.getState(BASIC_SIZES_GROUP)

0 commit comments

Comments
 (0)