On 30/9-2009 14:43 Marco Martin <notm...@gmail.com> wrote: > On Wednesday 30 September 2009, Thomas Olsen wrote: > > def do_convert_from(currency_from): > > print "Convert from:" + currency_from > >
BTW: I forgot a basic Python rule and add "self" as an argument to class methods :-/ It should naturally be: def do_convert_from(self, currency_from): print "Convert from:" + currency_from But it didn't change the result. Now I've added a PushButton and connected it to a slot where I can get the value from the combo, but it's not optimal so I'm still open for suggestions. -- Best Regards / Med venlig hilsen Thomas Olsen _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel