[sword-devel] getKeyText() doesn't always return keys.

David "Judah's Shadow" Blue yudahsshadow at gmx.com
Thu Mar 28 11:36:26 EDT 2024


On Wednesday, March 27, 2024 4:10:30 PM EDT David "Judah's Shadow" Blue wrote:
> I'm still at a loss here. I've tried changing things to where I use a SWKey
> and use setText() there and called setPersist(true) and use that to set the
> module key. All to no avail. getKeyText(); is consistently returning an
> empty string the first time it gets called for a module. The second time it
> works, consistently. Bible texts and commentaries work correctly, genbooks
> that use almost identical code work correctly. I'm not certain what's
> different about lexicons that it doesn't work consistently.

I tried using SWKey foo with foo.setText(bar) and foo.setPersist(true) and it 
works now, so 🤷‍♂️




More information about the sword-devel mailing list