From 9ef42119694384a024104e9456e01d3c0e7bca2f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 3 Jan 2020 02:29:24 +0100 Subject: Fix failure to save screen notes when making a new one (github bug #6). --- src/lib/screen.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/screen.h b/src/lib/screen.h index eff2e5ffe..cfb45684b 100644 --- a/src/lib/screen.h +++ b/src/lib/screen.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2018 Carl Hetherington + Copyright (C) 2013-2019 Carl Hetherington This file is part of DCP-o-matic. @@ -56,8 +56,9 @@ private: class Screen { public: - Screen (std::string const & n, boost::optional rec, std::vector td) - : name (n) + Screen (std::string const & na, std::string const & no, boost::optional rec, std::vector td) + : name (na) + , notes (no) , recipient (rec) , trusted_devices (td) {} -- cgit v1.2.3