mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user