Merge pull request #20083 from AlexHolly/fix-colorpickerbutton-popup
fix ColorPickerButton.get_popup()
This commit is contained in:
commit
750aa99394
2 changed files with 3 additions and 2 deletions
|
@ -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 a new issue