From 6b18a2ec33fc7ee8c41d034419441e32f475816b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 24 Feb 2013 12:32:28 +0200 Subject: [PATCH] Connect halt checkbox in the remote to the right function --- source/remote/mainpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/remote/mainpanel.cpp b/source/remote/mainpanel.cpp index 93724a2..705c402 100644 --- a/source/remote/mainpanel.cpp +++ b/source/remote/mainpanel.cpp @@ -18,7 +18,7 @@ MainPanel::MainPanel(Remote &r, R2C2::Client &c): chk_power->signal_toggled().connect(sigc::mem_fun(this, &MainPanel::ui_power_changed)); hbox->pack_start(*manage(chk_halt = new Gtk::CheckButton("Halt")), false, true); - chk_halt->signal_toggled().connect(sigc::mem_fun(this, &MainPanel::ui_power_changed)); + chk_halt->signal_toggled().connect(sigc::mem_fun(this, &MainPanel::ui_halt_changed)); pack_start(*manage(lbl_status = new Gtk::Label), false, true); -- 2.43.0