Finish draganddrop before startdrag

revert-6246b479
Kindi 10 months ago committed by Alexei Kotov
parent 5c9dbdaceb
commit 00e5f31242

@ -59,6 +59,7 @@
Bug #7413: Generated wilderness cells don't spawn fish
Bug #7415: Unbreakable lock discrepancies
Bug #7428: AutoCalc flag is not used to calculate enchantment costs
Bug #7459: Icons get stacked on the cursor when picking up multiple items simultaneously
Feature #3537: Shader-based water ripples
Feature #5492: Let rain and snow collide with statics
Feature #6447: Add LOD support to Object Paging

@ -762,6 +762,10 @@ namespace MWGui
}
if (i == mTradeModel->getItemCount())
throw std::runtime_error("Added item not found");
if (mDragAndDrop->mIsOnDragAndDrop)
mDragAndDrop->finish();
mDragAndDrop->startDrag(i, mSortModel, mTradeModel, mItemView, count);
MWBase::Environment::get().getWindowManager()->updateSpellWindow();

Loading…
Cancel
Save