summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ueditor.rpy7
1 files changed, 6 insertions, 1 deletions
diff --git a/ueditor.rpy b/ueditor.rpy
index d75bff6..a8d580c 100644
--- a/ueditor.rpy
+++ b/ueditor.rpy
@@ -66,7 +66,12 @@ screen units_editor():
$ uedit=allunitsbase[current]
- label _("%s %s %s" % (star_write(uedit["rare"]), uedit["name"], ifte(uedit["sex"], "(F)", "(M)")))
+ hbox:
+ label _("%s %s" % (star_write(uedit["rare"]), uedit["name"]))
+ null width 30
+ textbutton "%s" % ifte(uedit["sex"], "(F)", "(M)"):
+ action Function(ueditor, "sex", ifte(uedit["sex"],
+ 0, 1), True)
hbox:
spacing 10
#textbutton _("-") action Function(ueditor, "unit_id", -1)