Fix connecting a signal with a double click is too difficult

Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
This commit is contained in:
Hilderin 2024-08-01 20:03:15 -04:00 committed by Danil Alexeev
parent 691d8bee2b
commit 4e19ab8afe
No known key found for this signature in database
GPG key ID: 5A52F75A8679EC57
9 changed files with 147 additions and 98 deletions

View file

@ -2284,9 +2284,7 @@ ThemeTypeDialog::ThemeTypeDialog() {
///////////////////////
Control *ThemeItemLabel::make_custom_tooltip(const String &p_text) const {
EditorHelpBit *help_bit = memnew(EditorHelpBit(p_text));
EditorHelpBitTooltip::show_tooltip(help_bit, const_cast<ThemeItemLabel *>(this));
return memnew(Control); // Make the standard tooltip invisible.
return EditorHelpBitTooltip::show_tooltip(const_cast<ThemeItemLabel *>(this), p_text);
}
VBoxContainer *ThemeTypeEditor::_create_item_list(Theme::DataType p_data_type) {