diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-05-28 22:56:18 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-05-28 22:56:18 -0400 |
commit | c3fcd700c2da90f304eb64a1805552b743c9173f (patch) | |
tree | 1818065e882be7af669ef5487b30b4119b9fd5eb | |
parent | ab3a843a32d4effed96e0ee401550883e2853e47 (diff) | |
download | sigen-c3fcd700c2da90f304eb64a1805552b743c9173f.tar.gz sigen-c3fcd700c2da90f304eb64a1805552b743c9173f.tar.xz sigen-c3fcd700c2da90f304eb64a1805552b743c9173f.zip |
The sell price doesn't matter if it can't be sold
-rw-r--r-- | sigmodr/widgets/ItemUI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sigmodr/widgets/ItemUI.cpp b/sigmodr/widgets/ItemUI.cpp index e0f8e362..200edd81 100644 --- a/sigmodr/widgets/ItemUI.cpp +++ b/sigmodr/widgets/ItemUI.cpp @@ -131,6 +131,7 @@ void ItemUI::Private::nameChanged(const QString& name) void ItemUI::Private::sellableChanged(const bool sellable) { m_item->setSellable(sellable); + ui_sellPrice->setEnabled(sellable); } void ItemUI::Private::typeChanged(const int type) |