Improvements to the CrudModel

The new data of modified rows is now stored directly within the row_mapping
also changed how new rows are handled so the new empty row for inserting
is not a special case but is part of the list.
This commit is contained in:
eelke 2022-01-22 16:22:29 +01:00
parent a7f247bdee
commit 06504ecc1f
9 changed files with 213 additions and 317 deletions

View file

@ -1,6 +1,6 @@
#include "DatabaseWindow.h"
#include "util.h"
#include "CrudTab.h"
#include "crud/CrudTab.h"
#include "widgets/CatalogTablesPage.h"
#include "OpenDatabase.h"
#include "catalog/PgDatabaseCatalog.h"
@ -268,7 +268,7 @@ void DatabaseWindow::newCatalogInspectorPage(QString caption, NamespaceFilter fi
if (!m_database)
return; // would be better if we queued the operation for later
auto ct = new CatalogInspector(m_database, this);
auto ct = new CatalogInspector(m_database, this);
ct->addAction(actionRefreshCatalog);
addPage(ct, caption);