summaryrefslogtreecommitdiff
path: root/src/stamps/StampsView.cpp
diff options
context:
space:
mode:
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;