Skip to content

Commit 9eaff33

Browse files
authored
Merge pull request #2990 from martinservold/develop
Select_Sheets Improvements
2 parents b4bb7a8 + 4ca2767 commit 9eaff33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyrevitlib/pyrevit/forms/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2257,7 +2257,10 @@ def select_sheets(
22572257
sheetset_ops = sorted(
22582258
[SheetOption(x) for x in sheetset_sheets], key=lambda x: x.number
22592259
)
2260-
all_ops[sheetset.Name] = sheetset_ops
2260+
if sheetset.Name == 'All Sheets':
2261+
all_ops["[" + sheetset.Name + "]"] = sheetset_ops
2262+
else:
2263+
all_ops[sheetset.Name] = sheetset_ops
22612264

22622265
# ask user for multiple sheets
22632266
selected_sheets = SelectFromList.show(

0 commit comments

Comments
 (0)