mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
aDD scroll page tabs ON MACos, Thanks Giovanni
This commit is contained in:
@@ -810,7 +810,11 @@ void ProjectView::initWidgets() {
|
||||
fallback_label_ -> setAlignment(Qt::AlignVCenter | Qt::AlignHCenter);
|
||||
|
||||
// initialize tabs
|
||||
#ifdef Q_OS_MACOS
|
||||
m_tab = new WheelEnabledTabBar(this);
|
||||
#else
|
||||
m_tab = new QTabWidget(this);
|
||||
#endif
|
||||
m_tab -> setMovable(true);
|
||||
|
||||
QToolButton *add_new_diagram_button = new QToolButton;
|
||||
|
||||
Reference in New Issue
Block a user