mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-19 17:09:40 +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
|
||||
dragItem (NULL, count);
|
||||
}
|
||||
|
||||
// item might have been unequipped
|
||||
notifyContentChanged();
|
||||
}
|
||||
|
||||
void InventoryWindow::ensureSelectedItemUnequipped()
|
||||
|
@ -269,6 +266,7 @@ namespace MWGui
|
|||
{
|
||||
ensureSelectedItemUnequipped();
|
||||
mDragAndDrop->startDrag(mSelectedItem, mSortModel, mTradeModel, mItemView, count);
|
||||
notifyContentChanged();
|
||||
}
|
||||
|
||||
void InventoryWindow::sellItem(MyGUI::Widget* sender, int count)
|
||||
|
@ -292,6 +290,7 @@ namespace MWGui
|
|||
}
|
||||
|
||||
mItemView->update();
|
||||
notifyContentChanged();
|
||||
}
|
||||
|
||||
void InventoryWindow::updateItemView()
|
||||
|
|
Loading…
Reference in a new issue