Fix Probability popup stuck with ghost value
This commit is contained in:
parent
d0e9bb0ed3
commit
27254581a4
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue