Skip to content

Commit

Permalink
Disable resource icon cache for dialogs that aren't updated
Browse files Browse the repository at this point in the history
  • Loading branch information
totycro committed Apr 16, 2012
1 parent 59a4072 commit 02ba837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horizons/util/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def create_resource_selection_dialog(on_click, inventory, db, widget='select_tra
amount = inventory[res_id]
filled = int(float(inventory[res_id]) / float(inventory.get_limit(res_id)) * 100.0)
button = ImageFillStatusButton.init_for_res(db, res_id,
amount=amount, filled=filled,
amount=amount, filled=filled, uncached=True,
use_inactive_icon=False)

# on click: add this res
Expand Down

0 comments on commit 02ba837

Please sign in to comment.