Signals: Fix some regressions from #36426
- Fix `callable_mp` bindings to methods which used to have default arguments passed to `bind_method`. We now have to re-specify them manually when connecting. - Re-add `GroupsEditor::update_tree` binding. - Misc code quality changes along the way.
This commit is contained in:
parent
da8a0913f4
commit
48ed841dd0
15 changed files with 44 additions and 43 deletions
|
|
@ -990,7 +990,7 @@ SpriteFramesEditor::SpriteFramesEditor() {
|
|||
empty2->connect("pressed", callable_mp(this, &SpriteFramesEditor::_empty2_pressed));
|
||||
move_up->connect("pressed", callable_mp(this, &SpriteFramesEditor::_up_pressed));
|
||||
move_down->connect("pressed", callable_mp(this, &SpriteFramesEditor::_down_pressed));
|
||||
file->connect("files_selected", callable_mp(this, &SpriteFramesEditor::_file_load_request));
|
||||
file->connect("files_selected", callable_mp(this, &SpriteFramesEditor::_file_load_request), make_binds(-1));
|
||||
loading_scene = false;
|
||||
sel = -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue