mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 10:09:39 +00:00
InventoryWindow: don't unnecessarily update preview on opening count dialog
This commit is contained in:
parent
0a9a0a3b14
commit
ddf8c5023e
1 changed files with 2 additions and 3 deletions
|
@ -229,9 +229,6 @@ namespace MWGui
|
||||||
else
|
else
|
||||||
dragItem (NULL, count);
|
dragItem (NULL, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
// item might have been unequipped
|
|
||||||
notifyContentChanged();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void InventoryWindow::ensureSelectedItemUnequipped()
|
void InventoryWindow::ensureSelectedItemUnequipped()
|
||||||
|
@ -269,6 +266,7 @@ namespace MWGui
|
||||||
{
|
{
|
||||||
ensureSelectedItemUnequipped();
|
ensureSelectedItemUnequipped();
|
||||||
mDragAndDrop->startDrag(mSelectedItem, mSortModel, mTradeModel, mItemView, count);
|
mDragAndDrop->startDrag(mSelectedItem, mSortModel, mTradeModel, mItemView, count);
|
||||||
|
notifyContentChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void InventoryWindow::sellItem(MyGUI::Widget* sender, int count)
|
void InventoryWindow::sellItem(MyGUI::Widget* sender, int count)
|
||||||
|
@ -292,6 +290,7 @@ namespace MWGui
|
||||||
}
|
}
|
||||||
|
|
||||||
mItemView->update();
|
mItemView->update();
|
||||||
|
notifyContentChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void InventoryWindow::updateItemView()
|
void InventoryWindow::updateItemView()
|
||||||
|
|
Loading…
Reference in a new issue