diff options
Diffstat (limited to 'sigmodr/ItemUI.cpp')
| -rw-r--r-- | sigmodr/ItemUI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sigmodr/ItemUI.cpp b/sigmodr/ItemUI.cpp index 8197543d..92f4b980 100644 --- a/sigmodr/ItemUI.cpp +++ b/sigmodr/ItemUI.cpp @@ -58,6 +58,7 @@ void Sigmodr::ItemUI::setGui() m_lastType = qobject_cast<Sigmod::Item*>(modified())->type(); varPrice->setValue(qobject_cast<Sigmod::Item*>(modified())->price()); varSellPrice->setValue(qobject_cast<Sigmod::Item*>(modified())->sellPrice()); + varSellPrice->setEnabled(qobject_cast<Sigmod::Item*>(modified())->sellable()); if (resetWeight) { const Sigmod::ItemType* itemType = sigmod()->itemTypeById(qobject_cast<Sigmod::Item*>(modified())->type()); |
