diff --git a/doc/dox/whatsnew.dox b/doc/dox/whatsnew.dox
index d260e1af5d..e15fcb6e9f 100644
--- a/doc/dox/whatsnew.dox
+++ b/doc/dox/whatsnew.dox
@@ -37,6 +37,7 @@ Changes, compared to \ref page_whatsnew_V4_0_0 "v4.0.0" include:
FIXED: color palettes with few entries (i.e. "step"-palettes) were not applied correctly
FIXED: fixes strange rendering with distortions (especially in text!), by correcting size calculation of internal image buffer
FIXED: exporting gridPrinting plots when using only a JKQTBasePlotter
+ FIXED: fixed impleentations of JKQTPlotter::beginGraphs(), which actually returned the end-iterator (COPY-PASTE-ERROR!!!)
REORGANIZED: separated line-graphs from jkqtpscatter.h/.cpp into jkqtplines.h/.cpp
IMPROVED: QT6-compatibility by removing deprecated warnings
IMPROVED: added missing override declarations
diff --git a/lib/jkqtplotter/jkqtplotter.h b/lib/jkqtplotter/jkqtplotter.h
index 0b48dbebd5..c38501ddc9 100644
--- a/lib/jkqtplotter/jkqtplotter.h
+++ b/lib/jkqtplotter/jkqtplotter.h
@@ -713,7 +713,7 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPlotter: public QWidget {
/** \copydoc JKQTBasePlotter::beginGraphs() */
inline typename JKQTBasePlotter::GraphsConstIterator cbeginGraphs() const {
- return plotter->cendGraphs();
+ return plotter->cbeginGraphs();
}
/** \copydoc JKQTBasePlotter::endGraphs() */
inline typename JKQTBasePlotter::GraphsConstIterator cendGraphs() const {
@@ -722,7 +722,7 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPlotter: public QWidget {
/** \copydoc JKQTBasePlotter::beginGraphs() */
inline typename JKQTBasePlotter::GraphsConstIterator beginGraphs() const {
- return plotter->endGraphs();
+ return plotter->beginGraphs();
}
/** \copydoc JKQTBasePlotter::endGraphs() */
inline typename JKQTBasePlotter::GraphsConstIterator endGraphs() const {
@@ -730,7 +730,7 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPlotter: public QWidget {
}
/** \copydoc JKQTBasePlotter::beginGraphs() */
inline typename JKQTBasePlotter::GraphsIterator beginGraphs() {
- return plotter->endGraphs();
+ return plotter->beginGraphs();
}
/** \copydoc JKQTBasePlotter::endGraphs() */
inline typename JKQTBasePlotter::GraphsIterator endGraphs() {