]> git.sesse.net Git - ultimatescore/commitdiff
Make a quick command for hiding lower thirds.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 25 Oct 2017 07:38:35 +0000 (09:38 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 25 Oct 2017 07:38:35 +0000 (09:38 +0200)
client/mainwindow.cpp

index e515cf3d3aac90fc3d6fdc7577dada8ab1d53d42..9787ecbea584caa21e519075765b5c38ae38e8c0 100644 (file)
@@ -265,6 +265,8 @@ void MainWindow::quick_lower_third_activate()
                add_goal(ui->score_1_box, 1);
        } else if (code == "B") {
                add_goal(ui->score_2_box, 1);
+       } else if (code == "C") {
+               acmp->send_command("cg 1 invoke 1 hidelowerthird");
        } else {
                map<string, string> param;
                param["code"] = code;