Merge pull request #6869 from master0fdisaster/master0fdisaster-patch-1

Fix "Show Input Display"
This commit is contained in:
spycrab 2018-05-16 21:55:02 +02:00 committed by GitHub
commit 8ca1bf52c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ void MenuBar::AddMovieMenu()
auto* input_display = movie_menu->addAction(tr("Show Input Display")); auto* input_display = movie_menu->addAction(tr("Show Input Display"));
input_display->setCheckable(true); input_display->setCheckable(true);
input_display->setChecked(SConfig::GetInstance().m_ShowInputDisplay); input_display->setChecked(SConfig::GetInstance().m_ShowInputDisplay);
connect(frame_counter, &QAction::toggled, connect(input_display, &QAction::toggled,
[](bool value) { SConfig::GetInstance().m_ShowInputDisplay = value; }); [](bool value) { SConfig::GetInstance().m_ShowInputDisplay = value; });
auto* system_clock = movie_menu->addAction(tr("Show System Clock")); auto* system_clock = movie_menu->addAction(tr("Show System Clock"));