Activate work area by tab click.

Fix for #11835.
Patch by Daniel Ramoeller.
This commit is contained in:
Pavel Sanda 2023-06-13 12:11:11 +02:00
parent 384240498a
commit 152811a27d
2 changed files with 5 additions and 0 deletions

BIN
po/cs.gmo

Binary file not shown.

View File

@ -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);