From c69314f56605cc7731f00c548cbaeb91f5d3079f Mon Sep 17 00:00:00 2001 From: Martin Kleusberg Date: Fri, 27 Oct 2017 11:30:59 +0200 Subject: [PATCH] Fix ampersand not showing up in dialog when renaming SQL tabs This didn't work on Windows as pointed out by Chris Locke. --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 841fc7a2..8da7e4f5 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -2631,7 +2631,7 @@ void MainWindow::renameSqlTab(int index) { QString new_name = QInputDialog::getText(this, qApp->applicationName(), - tr("Set a new name for the SQL tab. Use the '&' character to allow using the following character as a keyboard shortcut."), + tr("Set a new name for the SQL tab. Use the '&&' character to allow using the following character as a keyboard shortcut."), QLineEdit::EchoMode::Normal, ui->tabSqlAreas->tabText(index));