[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] Non-modal dialogs cause Python crash
From:       Jesper Eskilson <jojo () virtutech ! se>
Date:       2000-09-25 21:07:47
[Download RAW message or body]

--=-=-=


I'm experiencing some problems with non-modal dialogs. Python crashes in
"onButtonOk" method in the MyDialog2-class (see attachments for the
complete code).

--[cut]--
class MyDialog2(MyDialog):
    def __init__(self,parent = None,name = None,modal = 0,fl = 0):
        MyDialog.__init__(self,parent,name,modal,fl)
        
        self.connect(self.buttonOk,SIGNAL("clicked()"),self.onButtonOk)

    def onButtonOk(self):
        print "onButtonOk():"
        print self
--[cut]--

If the "modal" parameter is set to "1" the program runs fine. 

Am I doing something wrong, or is there a bug out there lurking somewhere?

Thanks in advance,

/Jesper



--=-=-=


-- 
/Jesper

--=-=-=--




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic