Create savepoint when editing a table

Create a savepoint when starting to edit an existing table, release it
when the user clicks on the OK button and rollback to it if he cancels
the action.
This commit is contained in:
Martin Kleusberg
2013-01-02 22:30:35 +01:00
parent 4bebed0365
commit 58b247b9aa
2 changed files with 29 additions and 201 deletions
+1 -1
View File
@@ -27,6 +27,7 @@ public slots:
virtual void removeField();
virtual void fieldSelectionChanged();
virtual void accept();
virtual void reject();
virtual void checkInput();
protected:
@@ -35,7 +36,6 @@ protected:
DBBrowserDB *pdb;
private:
void init();
Ui::editTableForm *ui;
};