Merge pull request #20083 from AlexHolly/fix-colorpickerbutton-popup

fix ColorPickerButton.get_popup()
This commit is contained in:
Max Hilbrunner 2018-07-10 22:12:05 +02:00 committed by GitHub
commit 750aa99394
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -743,8 +743,9 @@ ColorPicker *ColorPickerButton::get_picker() {
return picker;
}
PopupPanel *ColorPickerButton::get_popup() const {
PopupPanel *ColorPickerButton::get_popup() {
_update_picker();
return popup;
}

View file

@ -144,7 +144,7 @@ public:
bool is_editing_alpha() const;
ColorPicker *get_picker();
PopupPanel *get_popup() const;
PopupPanel *get_popup();
ColorPickerButton();
};