Emit "*_changed" signal in set_*

This commit is contained in:
volzhs 2016-11-14 04:21:29 +09:00
parent c93c2a6be8
commit 384625aa31
3 changed files with 3 additions and 1 deletions

View file

@ -660,6 +660,7 @@ void ColorPickerButton::set_color(const Color& p_color){
picker->set_color(p_color);
update();
emit_signal("color_changed",p_color);
}
Color ColorPickerButton::get_color() const{

View file

@ -918,6 +918,7 @@ void LineEdit::set_text(String p_text) {
update();
cursor_pos=0;
window_pos=0;
_text_changed();
}
void LineEdit::clear() {

View file

@ -3327,7 +3327,7 @@ void TextEdit::set_text(String p_text){
cursor_set_column(0);
update();
setting_text=false;
_text_changed_emit();
//get_range()->set(0);
};