From 413f13431765f07ab1f12b5d935efa395761b036 Mon Sep 17 00:00:00 2001 From: Peter Kwan Date: Wed, 2 Nov 2016 09:57:49 +0000 Subject: [PATCH] File Monitoring A change in file replaces the page rather than add to the carousel --- ttxpagestream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttxpagestream.cpp b/ttxpagestream.cpp index cec537c..7b4c597 100644 --- a/ttxpagestream.cpp +++ b/ttxpagestream.cpp @@ -65,7 +65,7 @@ bool TTXPageStream::LoadPage(std::string filename) bool Loaded=false; // std::cerr << "[TTXPage] file constructor loading " << filename<< std::endl; //m_Init(); // Careful! We should move inits to the initialisation list and call the default constructor - + m_PageNumber=FIRSTPAGE; // Force to replace the root page rather than add to the carousel if (m_LoadTTI(filename)) Loaded=true; return Loaded;