diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-14 10:18:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-14 10:18:26 +0400 |
commit | 630f343b30d8b7deb59a7e0ecd0b8f957a536319 (patch) | |
tree | f6cca3b95af1763edc9c12eac021c0a6d8cbe55c /source/blender/editors | |
parent | b70acd30c30834dc833a0390a6d754f70e03b9be (diff) |
UI: Don't print user passwords in info-space
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 7a76f66177e..b95545ad8df 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -604,7 +604,13 @@ static void ui_apply_autokey(bContext *C, uiBut *but) /* make a little report about what we've done! */ if (but->rnaprop) { - char *buf = WM_prop_pystring_assign(C, &but->rnapoin, but->rnaprop, but->rnaindex); + char *buf; + + if (RNA_property_subtype(but->rnaprop) == PROP_PASSWORD) { + return; + } + + buf = WM_prop_pystring_assign(C, &but->rnapoin, but->rnaprop, but->rnaindex); if (buf) { BKE_report(CTX_wm_reports(C), RPT_PROPERTY, buf); MEM_freeN(buf); |