diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index 3ee5eefa..ed0f6668 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -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);