Permalink
Browse files

Don't allow editing the SQL preview in the Edit Index dialog

Don't allow the user to edit the SQL preview in the Edit Index dialog
because it's just supposed to be a preview.
  • Loading branch information...
MKleusberg committed Jul 15, 2018
1 parent 1b7ba4a commit 7a9f310778b9be6cc0b7d503df73ca461fa95083
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/EditIndexDialog.cpp
@@ -16,6 +16,7 @@ EditIndexDialog::EditIndexDialog(DBBrowserDB& db, const sqlb::ObjectIdentifier&
{
// Create UI
ui->setupUi(this);
ui->sqlTextEdit->setReadOnly(true);

// Get list of tables, sort it alphabetically and fill the combobox
QMap<QString, sqlb::ObjectIdentifier> dbobjs; // Map from display name to full object identifier

0 comments on commit 7a9f310

Please sign in to comment.