mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Make Dock Widgets SubWindows in general (#12170)
This commit is contained in:
parent
67762aaf08
commit
6431a9ab13
@ -31,6 +31,11 @@ DockView::DockView(GuiView & parent, QString const & name,
|
||||
hide();
|
||||
connect(&parent, SIGNAL(bufferViewChanged()),
|
||||
this, SLOT(onBufferViewChanged()));
|
||||
|
||||
// Make dock widgets sub windows to prevent focusNextPrevChild
|
||||
// (Tab key) switching to the parent rather than to the next
|
||||
// widget in the pane (#12170)
|
||||
setWindowFlags(Qt::SubWindow);
|
||||
}
|
||||
|
||||
|
||||
|
@ -126,10 +126,6 @@ GuiSearchWidget::GuiSearchWidget(QWidget * parent)
|
||||
replacePB->setEnabled(false);
|
||||
replacePrevPB->setEnabled(false);
|
||||
replaceallPB->setEnabled(false);
|
||||
|
||||
// Make this a sub window to prevent focusNextPrevChild (Tab)
|
||||
// switching to the parent (#12170)
|
||||
setWindowFlags(Qt::SubWindow);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user