diff options
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/constraints/tableforeignkeypanel.cpp')
| -rw-r--r-- | SQLiteStudio3/guiSQLiteStudio/constraints/tableforeignkeypanel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/constraints/tableforeignkeypanel.cpp b/SQLiteStudio3/guiSQLiteStudio/constraints/tableforeignkeypanel.cpp index 8bc7926..cecf5f4 100644 --- a/SQLiteStudio3/guiSQLiteStudio/constraints/tableforeignkeypanel.cpp +++ b/SQLiteStudio3/guiSQLiteStudio/constraints/tableforeignkeypanel.cpp @@ -72,7 +72,6 @@ bool TableForeignKeyPanel::validate() void TableForeignKeyPanel::setDb(Db* value) { ConstraintPanel::setDb(value); - ui->sqlite2Warn->setVisible(value->getDialect() == Dialect::Sqlite2); } void TableForeignKeyPanel::constraintAvailable() @@ -361,7 +360,7 @@ void TableForeignKeyPanel::storeConfiguration() constr->foreignKey->initially = sqliteInitially(ui->initiallyCombo->currentText()); // Name - constr->name = QString::null; + constr->name = QString(); if (ui->namedCheckBox->isChecked()) constr->name = ui->nameEdit->text(); } |
