Re: getKeyText() doesn't always return keys.

"David \"Judah's Shadow\" Blue" <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <11808645.XJmsqCbO5H@brooks>
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 🤷‍♂️


_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.