mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
Remove auto scroll from registerRefs widget
This commit is contained in:
parent
e54ab621fc
commit
52f9a57c04
@ -116,6 +116,7 @@ RegisterRefsWidget::RegisterRefsWidget(MainWindow *main, QAction *action) :
|
||||
registerRefModel = new RegisterRefModel(®isterRefs, this);
|
||||
registerRefProxyModel = new RegisterRefProxyModel(registerRefModel, this);
|
||||
ui->registerRefTreeView->setModel(registerRefProxyModel);
|
||||
ui->registerRefTreeView->setAutoScroll(false);
|
||||
ui->registerRefTreeView->sortByColumn(RegisterRefModel::RegColumn, Qt::AscendingOrder);
|
||||
|
||||
actionCopyValue = new QAction(tr("Copy register value"), this);
|
||||
|
Loading…
Reference in New Issue
Block a user