From 1b0b9e4b951e305d47bb011fc4e198472bb3fecf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Mar 2015 22:25:57 +0000 Subject: Hand-apply 33b76b675d747fd828aba91d9d857227cb8a8244 from master; make sure signals are disconnected in the right places. --- src/wx/hints_dialog.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wx/hints_dialog.cc') diff --git a/src/wx/hints_dialog.cc b/src/wx/hints_dialog.cc index b5d5c6971..406bcbf0f 100644 --- a/src/wx/hints_dialog.cc +++ b/src/wx/hints_dialog.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2013 Carl Hetherington + Copyright (C) 2012-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -48,8 +48,8 @@ HintsDialog::HintsDialog (wxWindow* parent, boost::weak_ptr f) boost::shared_ptr film = _film.lock (); if (film) { - film->Changed.connect (boost::bind (&HintsDialog::film_changed, this)); - film->ContentChanged.connect (boost::bind (&HintsDialog::film_changed, this)); + _film_changed_connection = film->Changed.connect (boost::bind (&HintsDialog::film_changed, this)); + _film_content_changed_connection = film->ContentChanged.connect (boost::bind (&HintsDialog::film_changed, this)); } film_changed (); -- cgit v1.2.3