Rename Create Index dialog to Edit Index dialog

Just like the Edit Table dialog, this dialog handles both creating and
editing. For consistency's sake this dialog is therefore renamed to Edit
Index dialog.
This commit is contained in:
Martin Kleusberg
2017-01-20 12:35:07 +01:00
parent c9ceb5da59
commit 2c7f32c699
17 changed files with 135 additions and 135 deletions

View File

@@ -1,7 +1,7 @@
#include "MainWindow.h"
#include "ui_MainWindow.h"
#include "CreateIndexDialog.h"
#include "EditIndexDialog.h"
#include "AboutDialog.h"
#include "EditTableDialog.h"
#include "ImportCsvDialog.h"
@@ -724,7 +724,7 @@ void MainWindow::createIndex()
return;
}
CreateIndexDialog dialog(db, "", true, this);
EditIndexDialog dialog(db, "", true, this);
if(dialog.exec())
populateTable();
}
@@ -773,7 +773,7 @@ void MainWindow::editObject()
if(dialog.exec())
populateTable();
} else if(type == "index") {
CreateIndexDialog dialog(db, name, false, this);
EditIndexDialog dialog(db, name, false, this);
if(dialog.exec())
populateTable();
}