From de0d46e08505e51c03ad1e5880241b33bd062f4a Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 16 Feb 2019 23:19:04 +0100 Subject: [PATCH] - listframe: fix m_nNrOfPages value for empty pages Signed-off-by: Thilo Graf --- src/gui/widget/listframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/listframe.cpp b/src/gui/widget/listframe.cpp index a77b12235..34e5c400b 100644 --- a/src/gui/widget/listframe.cpp +++ b/src/gui/widget/listframe.cpp @@ -336,7 +336,7 @@ void CListFrame::onNewLineArray(void) m_nCurrentLine = 0; m_nSelectedLine = 0; m_nLinesPerPage = 1; - m_nNrOfPages = 0; + m_nNrOfPages = 1; } // TRACE_1(" m_nNrOfPages: %d\r\n",m_nNrOfPages);