Skip to content

Commit

Permalink
fix some buttons remaining visible in the stamp browser while covered up
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Sep 20, 2015
1 parent 8ecb268 commit 6230bc7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/gui/localbrowser/LocalBrowserView.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 6230bc7

Please sign in to comment.