npalumbo / keepassui

A UI layer for interacting with the KeePass DB
MIT License
11 stars 3 forks source link

[BUG-17] Fixing app crashing when opening second file #19

Closed npalumbo closed 7 months ago

npalumbo commented 7 months ago

Binding the DBPathAndPassword struct using fyne binding.UnTyped throws an error on the 2nd time the binding variable is set because the struct is not comparable due to the []byte field. To get around that I used a bound string to notify the DataView of changes and shared a single instance of DBPathAndPassword with a pointer.