From 738d70584e8512f77222ce1b35d504c6e55d0a4f Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Mon, 17 Oct 2016 10:14:40 +0300 Subject: [PATCH] fix custom drawables in themes - fix #305 --- src/dlangui/widgets/styles.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlangui/widgets/styles.d b/src/dlangui/widgets/styles.d index 436538b2..4a6dca1a 100644 --- a/src/dlangui/widgets/styles.d +++ b/src/dlangui/widgets/styles.d @@ -1020,7 +1020,7 @@ class Theme : Style { override string customDrawableId(string id) const { if (_customDrawables.hasKey(id)) - _customDrawables.drawableId(id); + return _customDrawables.drawableId(id); return null; }