use ctrl+g for copying doc text from result table

This commit is contained in:
Jean-Francois Dockes 2021-02-04 10:24:09 +01:00
parent 7dca1f18ca
commit c210b27819

View File

@ -701,7 +701,7 @@ void ResTable::onNewShortcuts()
SETSHORTCUT(this, tr("Result Table"), tr("Show Vertical Header"), SETSHORTCUT(this, tr("Result Table"), tr("Show Vertical Header"),
"Ctrl+V", m_showvheadersc, toggleVHeader); "Ctrl+V", m_showvheadersc, toggleVHeader);
SETSHORTCUT(this, tr("Result Table"), tr("Copy current document text"), SETSHORTCUT(this, tr("Result Table"), tr("Copy current document text"),
"Ctrl+Shift+[", m_copycurtextsc, copyCurrentRowText); "Ctrl+G", m_copycurtextsc, copyCurrentRowText);
std::vector<QShortcut*> scps={ std::vector<QShortcut*> scps={
m_opensc, m_openquitsc, m_previewsc, m_showsnipssc, m_showheadersc, m_opensc, m_openquitsc, m_previewsc, m_showsnipssc, m_showheadersc,
m_showvheadersc, m_copycurtextsc}; m_showvheadersc, m_copycurtextsc};