Yes, this fixed the issue. Thank you for your help![]()
What is interesting, is that this ui file was made in designer, and I did not see the "windowModality" property in designer for the QLineEdit, so I am not sure how it got there especially since this property for the main widget was Qt::NonModal. Editing the ui file by hand did work though.
Bookmarks