fix ColorPickerButton.get_popup()
This commit is contained in:
parent
04d9f8dbd6
commit
bf3c81f20b
@ -743,8 +743,9 @@ ColorPicker *ColorPickerButton::get_picker() {
|
||||
return picker;
|
||||
}
|
||||
|
||||
PopupPanel *ColorPickerButton::get_popup() const {
|
||||
PopupPanel *ColorPickerButton::get_popup() {
|
||||
|
||||
_update_picker();
|
||||
return popup;
|
||||
}
|
||||
|
||||
|
@ -144,7 +144,7 @@ public:
|
||||
bool is_editing_alpha() const;
|
||||
|
||||
ColorPicker *get_picker();
|
||||
PopupPanel *get_popup() const;
|
||||
PopupPanel *get_popup();
|
||||
|
||||
ColorPickerButton();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user