Skip to content

Commit 219fcd9

Browse files
authored
Merge branch 'develop' into patch-15
2 parents 5ab215f + cb186d5 commit 219fcd9

File tree

1 file changed

+1
-1
lines changed
  • extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton

1 file changed

+1
-1
lines changed

extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def Execute(self, uiapp):
197197
if vw.ViewType == DB.ViewType.Legend:
198198
legends.append(vw)
199199
break
200-
if len(legends) = 0:
200+
if len(legends) == 0:
201201
task2 = UI.TaskDialog("Color Elements by Parameter")
202202
task2.MainInstruction = "In order to create a new legend, you need to have at least one. Please, create a legend view."
203203
wndw.TopMost = False

0 commit comments

Comments
 (0)