mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-08 11:11:51 +00:00
GUI: chapter editor: update menu entries when they're about to be shown
This commit is contained in:
parent
c46591157e
commit
8ce03bb2a5
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user