Allow table names consisting only of spaces in Edit Table dialog

SQLite allows this, so we should too.
This commit is contained in:
Martin Kleusberg
2017-01-17 19:31:17 +01:00
parent 194979edb0
commit 5858ea448d

View File

@@ -193,7 +193,7 @@ void EditTableDialog::updateSqlText()
void EditTableDialog::checkInput()
{
QString normTableName = ui->editTableName->text().trimmed();
QString normTableName = ui->editTableName->text();
bool valid = true;
if(normTableName.isEmpty())
valid = false;