Skip to content

Commit

Permalink
Fix ampersand not showing up in dialog when renaming SQL tabs
Browse files Browse the repository at this point in the history
This didn't work on Windows as pointed out by Chris Locke.
  • Loading branch information
MKleusberg committed Oct 27, 2017
1 parent 66fa444 commit c69314f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit c69314f

Please sign in to comment.