Fix Probability popup stuck with ghost value

This commit is contained in:
Serhii Snitsaruk 2023-09-26 11:10:23 +02:00
parent d0e9bb0ed3
commit 27254581a4
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ void LimboAIEditor::_update_probability_edit() {
} }
void LimboAIEditor::_probability_popup_closed() { void LimboAIEditor::_probability_popup_closed() {
probability_edit->get_line_edit()->release_focus(); probability_edit->grab_focus(); // Hack: Workaround for an EditorSpinSlider bug keeping LineEdit visible and "stuck" with ghost value.
} }
void LimboAIEditor::_misc_option_selected(int p_id) { void LimboAIEditor::_misc_option_selected(int p_id) {