Change print warnings to config ones for popups that need transparency
This commit is contained in:
parent
0257995616
commit
5c63646e87
9 changed files with 82 additions and 17 deletions
|
|
@ -582,6 +582,14 @@ void OptionButton::set_disable_shortcuts(bool p_disabled) {
|
|||
disable_shortcuts = p_disabled;
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
PackedStringArray OptionButton::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = Button::get_configuration_warnings();
|
||||
warnings.append_array(popup->get_configuration_warnings());
|
||||
return warnings;
|
||||
}
|
||||
#endif
|
||||
|
||||
OptionButton::OptionButton(const String &p_text) :
|
||||
Button(p_text) {
|
||||
set_toggle_mode(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue