diff options
author | emkael <emkael@tlen.pl> | 2017-09-20 18:59:47 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-09-20 18:59:47 +0200 |
commit | ade27538ebac7043e680517c7b9f7ba223e12d64 (patch) | |
tree | 9d091d1c8fbababcb134773b6f85f0f4361ccf1a /Aktywator | |
parent | 4de0ed6cf29dcbe0d0be002feeeed35941b9785d (diff) |
BUGFIX: default value was always restored for some options
Diffstat (limited to 'Aktywator')
-rw-r--r-- | Aktywator/Setting.cs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Aktywator/Setting.cs b/Aktywator/Setting.cs index a5540d6..613065f 100644 --- a/Aktywator/Setting.cs +++ b/Aktywator/Setting.cs @@ -161,19 +161,13 @@ namespace Aktywator try { sql.query(this.getAddColumnSql()); - } - catch (OleDbException) - { - } - if (setDefault) - { - try + if (setDefault) { sql.query(this.getSetDefaultSql()); } - catch (OleDbException) - { - } + } + catch (OleDbException) + { } } } |