Permalink
Browse files

fix some buttons remaining visible in the stamp browser while covered up

  • Loading branch information...
jacob1 committed Sep 20, 2015
1 parent 8ecb268 commit 6230bc70b177eb9799dac9a452b9269314926d30
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/gui/localbrowser/LocalBrowserView.cpp
@@ -246,12 +246,16 @@ void LocalBrowserView::NotifySelectedChanged(LocalBrowserModel * sender)
}
}
if(selected.size())
if (selected.size())
{
removeSelected->Visible = true;
pageLabel->Visible = pageCountLabel->Visible = pageTextbox->Visible = false;
}
else
else if (removeSelected->Visible)
{
removeSelected->Visible = false;
pageLabel->Visible = pageCountLabel->Visible = pageTextbox->Visible = true;
}
}
void LocalBrowserView::OnMouseWheel(int x, int y, int d)

0 comments on commit 6230bc7

Please sign in to comment.