Fix ampersand not showing up in dialog when renaming SQL tabs

This didn't work on Windows as pointed out by Chris Locke.
This commit is contained in:
Martin Kleusberg
2017-10-27 11:30:59 +02:00
parent 66fa44497d
commit c69314f566

View File

@@ -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));