Registered Member
|
Sorry to bring up another case of PyKDE4 being buggy but I haven't
got any leads on this bug. When I call KTextEdit.setText("Text") in python the edit field remains blank. Does anyone have a suspicion as to why? I seem to get allot of this kind of thing, maybe I should get some API bug repellent from the dairy
Last edited by RyanMcCoskrie on Sat Dec 27, 2008 2:39 am, edited 1 time in total.
RyanMcCoskrie, proud to be a member of KDE forums since 2008-Dec.
|
Mentor
|
Just to be sure. Are you really calling KTextEdit.setText("Text") or x.setText("Text") where x is an instance from KTextEdit?
[size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
Registered Member
|
Yes, I'm using x for instance. I have tried x.setPlainText("text") as well and no luck there either
RyanMcCoskrie, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Just ran the first and most obvious test that I _should_ have done.
Using a piece of hard-coded, constant text rather than reading of a wrapper on QFile that I've made. Sorry for wasting time and server capacity.
RyanMcCoskrie, proud to be a member of KDE forums since 2008-Dec.
|
Administrator
|
No need to apologize Can you please edit your first post to add [SOLVED] to it's title. Thanks in advance. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell