summaryrefslogtreecommitdiff
path: root/src/stamps/StampsView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-03 13:07:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-03 13:07:39 (GMT)
commit73c5082cbcdd3a986765723bd4182e45386ce766 (patch)
tree99a0040636c9700a893044ebc36d949fa1da5873 /src/stamps/StampsView.cpp
parentefddc12e5d2aadc5eee1927245ad38b9dee89aed (diff)
downloadpowder-73c5082cbcdd3a986765723bd4182e45386ce766.zip
powder-73c5082cbcdd3a986765723bd4182e45386ce766.tar.gz
Super, megaheavyweight thumbnail renderer
Diffstat (limited to 'src/stamps/StampsView.cpp')
-rw-r--r--src/stamps/StampsView.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stamps/StampsView.cpp b/src/stamps/StampsView.cpp
index ddb3fb4..bddfb4f 100644
--- a/src/stamps/StampsView.cpp
+++ b/src/stamps/StampsView.cpp
@@ -87,13 +87,12 @@ void StampsView::NotifyStampsListChanged(StampsModel * sender)
int buttonAreaWidth, buttonAreaHeight, buttonXOffset, buttonYOffset;
vector<Save*> saves = sender->GetStampsList();
- Client::Ref().ClearThumbnailRequests();
for(i = 0; i < stampButtons.size(); i++)
{
RemoveComponent(stampButtons[i]);
delete stampButtons[i];
}
-
+ stampButtons.clear();
buttonXOffset = 0;
buttonYOffset = 50;
buttonAreaWidth = Size.X;