Merge pull request #69631 from timothyqiu/tile-proxy-rmb
Fix error when right clicking proxy list in TileProxiesManagerDialog
This commit is contained in:
commit
75f8f22637
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
|
|
||||||
void TileProxiesManagerDialog::_right_clicked(int p_item, Vector2 p_local_mouse_pos, Object *p_item_list, MouseButton p_mouse_button_index) {
|
void TileProxiesManagerDialog::_right_clicked(int p_item, Vector2 p_local_mouse_pos, MouseButton p_mouse_button_index, Object *p_item_list) {
|
||||||
if (p_mouse_button_index != MouseButton::RIGHT) {
|
if (p_mouse_button_index != MouseButton::RIGHT) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,7 @@ private:
|
||||||
EditorPropertyInteger *alternative_to_property_editor = nullptr;
|
EditorPropertyInteger *alternative_to_property_editor = nullptr;
|
||||||
|
|
||||||
PopupMenu *popup_menu = nullptr;
|
PopupMenu *popup_menu = nullptr;
|
||||||
void _right_clicked(int p_item, Vector2 p_local_mouse_pos, Object *p_item_list, MouseButton p_mouse_button_index);
|
void _right_clicked(int p_item, Vector2 p_local_mouse_pos, MouseButton p_mouse_button_index, Object *p_item_list);
|
||||||
void _menu_id_pressed(int p_id);
|
void _menu_id_pressed(int p_id);
|
||||||
void _delete_selected_bindings();
|
void _delete_selected_bindings();
|
||||||
void _update_lists();
|
void _update_lists();
|
||||||
|
|
Loading…
Reference in a new issue