Hi everybody!
I have a weird bug in my program and I can't find what is causing it. My program is an MDI program with toolbox, which I have subclassed from QToolbox.
The steps to reproduce the bug are as follows:
1) I open two sub windows and make sure the second sub window is the active window.
2) I then click on a page area (or a control on a page) in the toolbox, therefore activating it presumably.
3) I click on a different page heading in the toolbox to switch pages. When I do this the first sub window becomes active. This shouldn't happen, switching pages in the toolbox should not affect which sub window is active.
Has anybody else experienced this problem? I pretty sure it is my mistake somewhere, but I just can't find it - but maybe it is a Qt bug (unlikely)?
I'm not using the QToolbox currentChanged signal, so I do not understand how switching a page in the toolbox can affect the sub windows? Maybe I will have to create a dummy MDI application with toolbox to see if the bug occurs with that.
Any ideas greatly appreciated. Thanks!
zenzero-2001
Bookmarks