Hi,

I created several QDockWidget which are tabbified by default using this :
Qt Code:
  1. mainWindow_->tabifyDockWidget(prevDock, dock);
To copy to clipboard, switch view to plain text mode 

When the aplication starts, this is the last tab which is selected by default. I want to have the FIRST tab selected instead.
Using
Qt Code:
  1. setFocus()
To copy to clipboard, switch view to plain text mode 
on first tab/dock does not change anything.

Any idea ?

BR