[PyKDE] [ERIC][PATCH] corrected patch

Stephan Jaensch sjaensch at gmx.net
Thu Dec 19 15:58:00 GMT 2002


Hi,

second try (the first one didn't even compile, sorry about that). I tried 
to connect doubleClicked() to handleOpen() in class Browser but didn't 
realize that the constructor in the subclass SourcesBrowser did only 
call QListView.__init__, but not Browser.__init__. That's why I came up 
with the ugly workaround in patch #1. :-)

Here is a corrected one-liner that does open a python source file and 
jump to the correct line when it is double-clicked.

Ciao...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric-openOnDoubleClick.patch
Type: text/x-diff
Size: 456 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20021219/12fb1199/eric-openOnDoubleClick.bin


More information about the PyQt mailing list