mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Activate work area by tab click.
Fix for #11835. Patch by Daniel Ramoeller.
This commit is contained in:
parent
384240498a
commit
152811a27d
@ -1499,6 +1499,11 @@ TabWorkArea::TabWorkArea(QWidget * parent)
|
||||
|
||||
QObject::connect(this, SIGNAL(currentChanged(int)),
|
||||
this, SLOT(on_currentTabChanged(int)));
|
||||
#if QT_VERSION >= 0x050200
|
||||
// Fix for #11835
|
||||
QObject::connect(this, SIGNAL(tabBarClicked(int)),
|
||||
this, SLOT(on_currentTabChanged(int)));
|
||||
#endif
|
||||
|
||||
closeBufferButton = new QToolButton(this);
|
||||
closeBufferButton->setPalette(pal);
|
||||
|
Loading…
Reference in New Issue
Block a user