On Monday 23 February 2009, Toussis Manolis wrote: > I re-implementing in my applet the configAccepted() to store the > settings...
configChanged() you mean? there is no configAccepted in Plasma::Applet. or are you connecting to configAccepted yourself? > The thing is that I came across a strange issue. > I run the applet if I invoke the config interface, and press ok... > configAccepted is called once. Then I close the applet , and configAccepted > is called once more. All the options are saved fine. > > If I run the applet and don't invoke the config interface, and the close > the applet. configAccepted() is called only on applet close, and all the > settings are reset, and are not saved with the current settings. obviously because the ui hasn't been set up and so has bogus values. the question is why configAccepted is called on applet exit. is your code in playground so i can look at it? or somewhere else i can see it? -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel