Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNBurn <7nburn@gmail.com>2019-01-23 23:03:09 +0300
committerNBurn <7nburn@gmail.com>2019-01-23 23:03:09 +0300
commit49c1b409286937d00a63fbf4cfb1f820a75a80c0 (patch)
treee85be0be22a3929aa28e4f3b4d3b16741eb26ebc /archimesh/achm_room_maker.py
parent54f2341bdee0e6e5dfacd65a38740f99996efa52 (diff)
addons: add missing text= keyword after label
Diffstat (limited to 'archimesh/achm_room_maker.py')
-rw-r--r--archimesh/achm_room_maker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archimesh/achm_room_maker.py b/archimesh/achm_room_maker.py
index 11a259be..1ef5219d 100644
--- a/archimesh/achm_room_maker.py
+++ b/archimesh/achm_room_maker.py
@@ -1589,7 +1589,7 @@ Object.RoomGenerator = CollectionProperty(type=RoomProperties)
# Add wall parameters to the panel.
# -----------------------------------------------------
def add_wall(idx, box, wall):
- box.label("Wall " + str(idx))
+ box.label(text="Wall " + str(idx))
row = box.row()
row.prop(wall, 'w')
row.prop(wall, 'a')
@@ -1650,7 +1650,7 @@ class AchmRoomGeneratorPanel(Panel):
layout = self.layout
if bpy.context.mode == 'EDIT_MESH':
- layout.label('Warning: Operator does not work in edit mode.', icon='ERROR')
+ layout.label(text='Warning: Operator does not work in edit mode.', icon='ERROR')
else:
room = o.RoomGenerator[0]
row = layout.row()