Skip to content

Commit

Permalink
Adding a method to re-load the db from file
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Nov 3, 2024
1 parent e18f463 commit 02055f8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,7 @@ public static void setDbFile(File dbFile) {
CSGDatabase.dbFile = dbFile;
loadDatabaseFromFile(dbFile);
}

public static void reLoadDbFile() {
setDbFile(dbFile);
}
}

0 comments on commit 02055f8

Please sign in to comment.