Fix Qt6 crash when dragging rows in table views (#4567)
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
- Dev: Experimental builds with Qt 6 are now provided. (#4522, #4551, #4553, #4554, #4555, #4556)
|
- Dev: Experimental builds with Qt 6 are now provided. (#4522, #4551, #4553, #4554, #4555, #4556)
|
||||||
- Dev: Removed `CHATTERINO_TEST` definitions. (#4526)
|
- Dev: Removed `CHATTERINO_TEST` definitions. (#4526)
|
||||||
- Dev: Builds for macOS now have `macos` in their name (previously: `osx`). (#4550)
|
- Dev: Builds for macOS now have `macos` in their name (previously: `osx`). (#4550)
|
||||||
|
- Dev: Fixed a crash when dragging rows in table-views in builds with Qt 6. (#4567)
|
||||||
|
|
||||||
## 2.4.2
|
## 2.4.2
|
||||||
|
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ public:
|
|||||||
|
|
||||||
if (from != to)
|
if (from != to)
|
||||||
{
|
{
|
||||||
this->moveRow(this->index(from, to), from, parent, to);
|
this->moveRow(this->index(from, 0), from, parent, to);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We return false since we remove items ourselves.
|
// We return false since we remove items ourselves.
|
||||||
|
|||||||
Reference in New Issue
Block a user