diff --git a/src/mkvtoolnix-gui/chapter_editor/tool.cpp b/src/mkvtoolnix-gui/chapter_editor/tool.cpp index 7c70e8b5b..02bff4caf 100644 --- a/src/mkvtoolnix-gui/chapter_editor/tool.cpp +++ b/src/mkvtoolnix-gui/chapter_editor/tool.cpp @@ -64,7 +64,7 @@ Tool::setupActions() { connect(ui->newFileButton, &QPushButton::clicked, this, &Tool::newFile); connect(ui->openFileButton, &QPushButton::clicked, this, &Tool::selectFileToOpen); - connect(ui->editors, &QTabWidget::currentChanged, this, &Tool::enableMenuActions); + connect(m_chapterEditorMenu, &QMenu::aboutToShow, this, &Tool::enableMenuActions); connect(mw, &MainWindow::preferencesChanged, this, &Tool::setupTabPositions); connect(mw, &MainWindow::preferencesChanged, this, &Tool::retranslateUi);