store user config for db path

This commit is contained in:
Fabien Freling 2023-12-05 13:42:52 +01:00
parent 0965eea94b
commit a7c7fb0b6f
3 changed files with 22 additions and 6 deletions

View file

@ -15,7 +15,4 @@ func _on_button_pressed():
print("button pressed")
func _on_file_dialog_file_selected(path):
Global.db = SQLite.new()
Global.db.path = path
Global.db.verbosity_level = SQLite.VERBOSE
Global.db.open_db()
Global.load_db(path)