* Fix horizontal scrolling in stack widget

This commit is contained in:
mandlebro 2018-07-24 00:14:54 +01:00 committed by xarkes
parent d652241ec2
commit 886f3f1746

View File

@ -20,6 +20,7 @@ StackWidget::StackWidget(MainWindow *main, QAction *action) :
viewStack->setModel(modelStack);
viewStack->verticalHeader()->hide();
viewStack->setSortingEnabled(true);
viewStack->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
ui->verticalLayout->addWidget(viewStack);
connect(Core(), &CutterCore::refreshAll, this, &StackWidget::updateContents);