Browse Source

Fix error message on batch insert failure

Neal Wilson 7 years ago
parent
commit
04b148aece
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      config/Windows/newbatch.xml

+ 1
- 1
config/Windows/newbatch.xml View File

592
                 query2.bind(":approval", approval.checked);
592
                 query2.bind(":approval", approval.checked);
593
                 query2.exec();
593
                 query2.exec();
594
                 if(!query2.next()) {
594
                 if(!query2.next()) {
595
-                    displayError(TTR("batchWindow", "Failed to save batch to database. Please check inputs and connection and try again."));
595
+                    displayError(TTR("batchWindow", "Database Insert Failed"), TTR("batchWindow", "Failed to save batch to database. Please check inputs and connection and try again."));
596
                     query2 = query2.invalidate();
596
                     query2 = query2.invalidate();
597
                     query = query.invalidate();
597
                     query = query.invalidate();
598
                     return;
598
                     return;

Loading…
Cancel
Save