fix multi highlight bug
This commit is contained in:
parent
08ec24fb7c
commit
442e70d501
2 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,7 @@ void SavegameWidget::contextMenuEvent(QContextMenuEvent *ev)
|
||||||
contextMenu.addAction(tr("Copy savegame"), this, SLOT(on_cmdCopy_clicked()));
|
contextMenu.addAction(tr("Copy savegame"), this, SLOT(on_cmdCopy_clicked()));
|
||||||
contextMenu.addAction(tr("Delete savegame"), this, SLOT(on_cmdDelete_clicked()));
|
contextMenu.addAction(tr("Delete savegame"), this, SLOT(on_cmdDelete_clicked()));
|
||||||
contextMenu.exec(ev->globalPos());
|
contextMenu.exec(ev->globalPos());
|
||||||
|
setStyleSheet(styleSheet()); // fix multi highlight bug
|
||||||
}
|
}
|
||||||
|
|
||||||
void SavegameWidget::on_cbSelected_stateChanged(int arg1)
|
void SavegameWidget::on_cbSelected_stateChanged(int arg1)
|
||||||
|
|
|
@ -176,6 +176,7 @@ void SnapmaticWidget::contextMenuEvent(QContextMenuEvent *ev)
|
||||||
contextMenu.addAction(tr("Export picture"), this, SLOT(on_cmdExport_clicked()));
|
contextMenu.addAction(tr("Export picture"), this, SLOT(on_cmdExport_clicked()));
|
||||||
contextMenu.addAction(tr("Delete picture"), this, SLOT(on_cmdDelete_clicked()));
|
contextMenu.addAction(tr("Delete picture"), this, SLOT(on_cmdDelete_clicked()));
|
||||||
contextMenu.exec(ev->globalPos());
|
contextMenu.exec(ev->globalPos());
|
||||||
|
setStyleSheet(styleSheet()); // fix multi highlight bug
|
||||||
}
|
}
|
||||||
|
|
||||||
void SnapmaticWidget::on_cbSelected_stateChanged(int arg1)
|
void SnapmaticWidget::on_cbSelected_stateChanged(int arg1)
|
||||||
|
|
Loading…
Reference in a new issue