Fix loading settings in Export SQL dialog

Due to a copy-paste error we weren't loading the values of the
checkboxes in the Export SQL dialog correctly.
This commit is contained in:
Martin Kleusberg
2017-11-17 13:35:40 +01:00
parent dd85634f81
commit ccb1fd4ca8

View File

@@ -24,7 +24,7 @@ ExportSqlDialog::ExportSqlDialog(DBBrowserDB* db, QWidget* parent, const QString
// Load settings
ui->checkColNames->setChecked(Settings::getValue("exportsql", "insertcolnames").toBool());
ui->checkColNames->setChecked(Settings::getValue("exportsql", "insertmultiple").toBool());
ui->checkMultiple->setChecked(Settings::getValue("exportsql", "insertmultiple").toBool());
ui->comboOldSchema->setCurrentIndex(Settings::getValue("exportsql", "oldschema").toInt());
// Get list of tables to export