dont auto scroll when copy file in files panel

This commit is contained in:
Roy Qu 2024-04-11 08:12:02 +08:00
parent 05a36d3ed1
commit 90ed2dab15
1 changed files with 2 additions and 2 deletions

View File

@ -401,8 +401,8 @@ MainWindow::MainWindow(QWidget *parent)
delete m;
// connect(&mFileSystemModel, &QFileSystemModel::layoutChanged,
// this, &MainWindow::onFileSystemModelLayoutChanged, Qt::QueuedConnection);
// connect(&mFileSystemModel, &QFileSystemModel::fileRenamed,
// this, &MainWindow::onFileSystemModelLayoutChanged, Qt::QueuedConnection);
connect(&mFileSystemModel, &QFileSystemModel::fileRenamed,
this, &MainWindow::onFileSystemModelLayoutChanged, Qt::QueuedConnection);
connect(&mFileSystemModel, &QFileSystemModel::fileRenamed,
this, &MainWindow::onFileRenamedInFileSystemModel);
mFileSystemModel.setReadOnly(false);