last changes from gta5sync

This commit is contained in:
Syping 2017-02-25 06:30:37 +01:00
parent 4fc5959f71
commit 88f43b55d3
3 changed files with 56 additions and 40 deletions

View file

@ -1063,7 +1063,7 @@ void ProfileInterface::contextMenuTriggeredPIC(QContextMenuEvent *ev)
SnapmaticWidget *picWidget = (SnapmaticWidget*)sender();
QMenu contextMenu(picWidget);
QMenu editMenu(SnapmaticWidget::tr("Edi&t"), picWidget);
if (isHidden())
if (picWidget->isHidden())
{
editMenu.addAction(SnapmaticWidget::tr("Show &In-game"), picWidget, SLOT(makePictureVisibleSlot()));
}