Fix crash when selecting favorate directory on EditorFileDialog

The problem was that favorite tool button kept to change pressed
and unpressed state with toggled event.
This is a quick fix for crash.
EditorFileDialog might need to be refactor later.
This commit is contained in:
volzhs
2019-06-10 00:27:28 +09:00
parent 197b65f32a
commit 15d284b281
2 changed files with 9 additions and 1 deletions

View File

@ -151,6 +151,7 @@ private:
void _update_favorites();
void _favorite_toggled(bool p_toggle);
void _favorite_pressed();
void _favorite_selected(int p_idx);
void _favorite_move_up();
void _favorite_move_down();