fixed SavegameWidget context menu bug
This commit is contained in:
parent
5f8c2ff4a6
commit
19977bdb32
1 changed files with 0 additions and 1 deletions
|
@ -166,7 +166,6 @@ void SavegameWidget::savegameSelected()
|
||||||
void SavegameWidget::contextMenuEvent(QContextMenuEvent *ev)
|
void SavegameWidget::contextMenuEvent(QContextMenuEvent *ev)
|
||||||
{
|
{
|
||||||
QMenu contextMenu(this);
|
QMenu contextMenu(this);
|
||||||
if (!ui->cbSelected->isVisible())
|
|
||||||
contextMenu.addAction(tr("View"), this, SLOT(on_cmdView_clicked()));
|
contextMenu.addAction(tr("View"), this, SLOT(on_cmdView_clicked()));
|
||||||
contextMenu.addAction(tr("Copy"), this, SLOT(on_cmdCopy_clicked()));
|
contextMenu.addAction(tr("Copy"), this, SLOT(on_cmdCopy_clicked()));
|
||||||
contextMenu.addAction(tr("Delete"), this, SLOT(on_cmdDelete_clicked()));
|
contextMenu.addAction(tr("Delete"), this, SLOT(on_cmdDelete_clicked()));
|
||||||
|
|
Loading…
Reference in a new issue