You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Fix toggling a plugin makes its name black
This commit is contained in:
@@ -143,7 +143,11 @@ void EditorPluginSettings::_plugin_activity_changed() {
|
|||||||
ti->set_checked(COLUMN_STATUS, is_enabled);
|
ti->set_checked(COLUMN_STATUS, is_enabled);
|
||||||
updating = false;
|
updating = false;
|
||||||
}
|
}
|
||||||
ti->set_custom_color(COLUMN_NAME, is_enabled ? Color() : get_theme_color(SNAME("font_disabled_color"), EditorStringName(Editor)));
|
if (is_enabled) {
|
||||||
|
ti->clear_custom_color(COLUMN_NAME);
|
||||||
|
} else {
|
||||||
|
ti->set_custom_color(COLUMN_NAME, get_theme_color(SNAME("font_disabled_color"), EditorStringName(Editor)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPluginSettings::_create_clicked() {
|
void EditorPluginSettings::_create_clicked() {
|
||||||
|
|||||||
Reference in New Issue
Block a user