mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
The message when there are problems and the user has made changes and accepted them must be different to the case when the user has cancelled and any possible changes have been already reverted by the dialog. In the first case the fault may be ours and we actually revert changes. In the second case, we know for sure the problems were there before editing the table. We warn user about it, since we already know. The last error from the DB is inappropriate for both cases because it hasn't been updated by the foreign-key check. Also fixed the typo in a function identifier. Room for improvement: maybe the check should be done before opening the dialog, so we don't let the user edit the table until the issues have been solved. See issue #1547
69 KiB
69 KiB