mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix Qt6 crash when dragging rows in table views (#4567)
This commit is contained in:
parent
6338d09104
commit
6d2605d4ca
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue