Fix #10880: Crash in object window due to incorrect parameter order. (#10881)

This commit is contained in:
PeterN 2023-05-26 22:29:52 +01:00 committed by GitHub
parent 876871157f
commit 8ea9c1a133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ public:
{
switch (GB(widget, 0, 16)) {
case WID_BO_CLASS_LIST: {
auto it = this->vscroll->GetScrolledItemFromWidget(this->object_classes, widget, this, pt.y);
auto it = this->vscroll->GetScrolledItemFromWidget(this->object_classes, pt.y, this, widget);
if (it == this->object_classes.end()) break;
this->SelectOtherClass(*it);