fixed SavegameWidget context menu bug

This commit is contained in:
Rafael 2016-04-06 12:57:17 +02:00
parent 5f8c2ff4a6
commit 19977bdb32

View file

@ -166,7 +166,6 @@ void SavegameWidget::savegameSelected()
void SavegameWidget::contextMenuEvent(QContextMenuEvent *ev)
{
QMenu contextMenu(this);
if (!ui->cbSelected->isVisible())
contextMenu.addAction(tr("View"), this, SLOT(on_cmdView_clicked()));
contextMenu.addAction(tr("Copy"), this, SLOT(on_cmdCopy_clicked()));
contextMenu.addAction(tr("Delete"), this, SLOT(on_cmdDelete_clicked()));