update
This commit is contained in:
parent
5c5357a236
commit
4f6f82fc07
|
@ -27,6 +27,7 @@ TranslateUI::TranslateUI(QWidget* parent)
|
||||||
connect(_ruleset_navi, &QWidget::customContextMenuRequested, [=](const QPoint& pos) {
|
connect(_ruleset_navi, &QWidget::customContextMenuRequested, [=](const QPoint& pos) {
|
||||||
QMenu m;
|
QMenu m;
|
||||||
m.addAction(u8"Add Rule", this, &TranslateUI::addCustomRule);
|
m.addAction(u8"Add Rule", this, &TranslateUI::addCustomRule);
|
||||||
|
m.addSeparator();
|
||||||
m.addAction(u8"Open ExtractView", this, &TranslateUI::openExtractView);
|
m.addAction(u8"Open ExtractView", this, &TranslateUI::openExtractView);
|
||||||
m.exec(this->mapToGlobal(pos));
|
m.exec(this->mapToGlobal(pos));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue