Fix "Show Input Display"

This commit is contained in:
master0fdisaster 2018-05-16 21:07:15 +02:00 committed by GitHub
parent b203024a26
commit 2a9283ee3d
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"));
input_display->setCheckable(true);
input_display->setChecked(SConfig::GetInstance().m_ShowInputDisplay);
connect(frame_counter, &QAction::toggled,
connect(input_display, &QAction::toggled,
[](bool value) { SConfig::GetInstance().m_ShowInputDisplay = value; });
auto* system_clock = movie_menu->addAction(tr("Show System Clock"));