From 97f9a183107cdd4fdd0690db7006714797eb4ccc Mon Sep 17 00:00:00 2001 From: mgr Date: Tue, 25 Sep 2018 22:20:58 +0200 Subject: [PATCH] Mac version references incorrect shortcut in FK navigation (ammend) #1539 According the documentation, the default value is PortableText which is only for writing configuration. NativeText has to be used for display to user. This amends 87310a62e651a76c416f417855985ae9a8590008 --- src/sqlitetablemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlitetablemodel.cpp b/src/sqlitetablemodel.cpp index bcd2f1d1..2ffa6495 100644 --- a/src/sqlitetablemodel.cpp +++ b/src/sqlitetablemodel.cpp @@ -302,7 +302,7 @@ QVariant SqliteTableModel::data(const QModelIndex &index, int role) const sqlb::ForeignKeyClause fk = getForeignKeyClause(index.column()-1); if(fk.isSet()) return tr("References %1(%2)\nHold %3Shift and click to jump there").arg(fk.table()).arg(fk.columns().join(",")) - .arg(QKeySequence(Qt::CTRL).toString()); + .arg(QKeySequence(Qt::CTRL).toString(QKeySequence::NativeText)); else return QString(); }