Changeset View
Changeset View
Standalone View
Standalone View
src/tm/tmview.cpp
Show First 20 Lines • Show All 614 Lines • ▼ Show 20 Line(s) | 608 | else { | |||
---|---|---|---|---|---|
615 | } | 615 | } | ||
616 | } | 616 | } | ||
617 | QAction* r = popup.exec(m_browser->mapToGlobal(pos)); | 617 | QAction* r = popup.exec(m_browser->mapToGlobal(pos)); | ||
618 | if (!r) | 618 | if (!r) | ||
619 | return; | 619 | return; | ||
620 | if (r->data().toInt() == Remove) { | 620 | if (r->data().toInt() == Remove) { | ||
621 | removeEntry(e); | 621 | removeEntry(e); | ||
622 | } else if (r->data().toInt() == Open) { | 622 | } else if (r->data().toInt() == Open) { | ||
623 | emit fileOpenRequested(e.file, e.source.string, e.ctxt); | 623 | emit fileOpenRequested(e.file, e.source.string, e.ctxt, true); | ||
624 | } else if ((r->data().toInt() == RemoveFile) && | 624 | } else if ((r->data().toInt() == RemoveFile) && | ||
625 | KMessageBox::Yes == KMessageBox::questionYesNo(this, i18n("<html>Do you really want to remove this missing file:<br/><i>%1</i><br/>from translation memory %2?</html>", e.file, e.dbName), | 625 | KMessageBox::Yes == KMessageBox::questionYesNo(this, i18n("<html>Do you really want to remove this missing file:<br/><i>%1</i><br/>from translation memory %2?</html>", e.file, e.dbName), | ||
626 | i18nc("@title:window", "Translation Memory Missing File Removal"))) { | 626 | i18nc("@title:window", "Translation Memory Missing File Removal"))) { | ||
627 | deleteFile(e, false); | 627 | deleteFile(e, false); | ||
628 | } | 628 | } | ||
629 | } | 629 | } | ||
630 | 630 | | |||
631 | /** | 631 | /** | ||
▲ Show 20 Lines • Show All 392 Lines • Show Last 20 Lines |