summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-11-18 19:00:19 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-11-18 19:00:19 -0300
commit8bbde9e6cc2b782f11abf54be7e597c4d03de5ef (patch)
treede1a06d2c7cfc952b28736fbfec51a257d45889c /scene/gui
parentee944e0da21b4cf4c382b56927417af1f1dd7dea (diff)
parent467ee040c485f317048d5aec97d5d6d0af1f54e7 (diff)
Merge pull request #2730 from TheHX/fix_exp_property
Fix Range exp_edit property
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/range.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/range.cpp b/scene/gui/range.cpp
index ad708d16f0..7103ee651f 100644
--- a/scene/gui/range.cpp
+++ b/scene/gui/range.cpp
@@ -243,7 +243,7 @@ void Range::_bind_methods() {
ADD_PROPERTY( PropertyInfo( Variant::REAL, "range/step" ), _SCS("set_step"), _SCS("get_step") );
ADD_PROPERTY( PropertyInfo( Variant::REAL, "range/page" ), _SCS("set_page"), _SCS("get_page") );
ADD_PROPERTY( PropertyInfo( Variant::REAL, "range/value" ), _SCS("set_val"), _SCS("get_val") );
- ADD_PROPERTY( PropertyInfo( Variant::REAL, "range/exp_edit" ), _SCS("set_exp_unit_value"), _SCS("is_unit_value_exp") );
+ ADD_PROPERTY( PropertyInfo( Variant::BOOL, "range/exp_edit" ), _SCS("set_exp_unit_value"), _SCS("is_unit_value_exp") );
ADD_PROPERTY( PropertyInfo( Variant::BOOL, "rounded_values" ), _SCS("set_rounded_values"), _SCS("get_rounded_values") );
}