From: Mikko Rasa Date: Sun, 24 Feb 2013 10:32:28 +0000 (+0200) Subject: Connect halt checkbox in the remote to the right function X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=6b18a2ec33fc7ee8c41d034419441e32f475816b;p=r2c2.git Connect halt checkbox in the remote to the right function --- 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);