Can the MainWindow.SelectEntries() function be made public ?
Developing a KeePass Plugin I encountered the problem that I can get the selected entry via MainWindow.GetSelectedEntry(). But that I can't reselect this entry later, there is no public function for it. At the moment I hack my way around this (I copied this from Plugin AutoTypeShow ) via Reflection:
While the Reflection hack works, it's kind of very ugly. And can break at runtime (not compiletime) when MainWindow.SelectEntries function signature changes. Can this function please be made public ?
Thanks,
Mirco Babin (The Netherlands)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear KeePass developers,
Can the MainWindow.SelectEntries() function be made public ?
Developing a KeePass Plugin I encountered the problem that I can get the selected entry via MainWindow.GetSelectedEntry(). But that I can't reselect this entry later, there is no public function for it. At the moment I hack my way around this (I copied this from Plugin AutoTypeShow ) via Reflection:
While the Reflection hack works, it's kind of very ugly. And can break at runtime (not compiletime) when MainWindow.SelectEntries function signature changes. Can this function please be made public ?
Thanks,
Mirco Babin (The Netherlands)
Ok, I've made it public.
Here's the latest development snapshot for testing:
https://keepass.info/filepool/KeePass_181127.zip
Thanks and best regards,
Dominik
Thank you very much. Works as expected.
Kind regards,
Mirco