Looks like the names of the constants have been changed to label.setFrameStyle(QFrame <https://doc.qt.io/qt-6/qframe.html#QFrame>:: Panel | QFrame <https://doc.qt.io/qt-6/qframe.html#QFrame>::Raised);
See https://doc.qt.io/qt-6/qframe.html#details On Monday, April 12, 2021 at 11:17:10 AM UTC-4 Edward K. Ream wrote: > On Mon, Apr 12, 2021 at 10:13 AM tbp1...@gmail.com <tbp1...@gmail.com> > wrote: > >> I got a large number of messages as Leo tried to start. Here is the last >> one before it quit: >> >> File "d:\Tom\git\leo-editor\leo\plugins\qt_text.py", line 413, in >> __init__ >> self.setFrameStyle(self.StyledPanel | self.Sunken) >> >> AttributeError: 'LeoLineTextWidget' object has no attribute 'StyledPanel' >> > > Thanks for the report. I'll fix it immediately. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/a18ccf34-d9ff-4335-8e61-135551b103e6n%40googlegroups.com.