diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-03-03 14:05:46 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-03-03 14:05:46 +0300 |
commit | 830931087cd432f9e77e7057e89d282af06a446a (patch) | |
tree | 22d54c276c93cb86f4ee97d3bb20286809918e23 /src/PrintMonitor | |
parent | 3789fd70509b95244634a43c430e54fb3b83c4a0 (diff) |
Moved MaxThumbnails to Configuration.h and increased it to 4
Diffstat (limited to 'src/PrintMonitor')
-rw-r--r-- | src/PrintMonitor/PrintMonitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PrintMonitor/PrintMonitor.cpp b/src/PrintMonitor/PrintMonitor.cpp index b14710ac..2c937cf8 100644 --- a/src/PrintMonitor/PrintMonitor.cpp +++ b/src/PrintMonitor/PrintMonitor.cpp @@ -53,7 +53,7 @@ const ObjectModelArrayDescriptor PrintMonitor::thumbnailArrayDescriptor = [] (const ObjectModel *self, const ObjectExplorationContext&) noexcept -> size_t { size_t count = 0; - while (count < GCodeFileInfo::MaxThumbnails && ((const PrintMonitor*)self)->printingFileInfo.thumbnails[count].IsValid()) + while (count < MaxThumbnails && ((const PrintMonitor*)self)->printingFileInfo.thumbnails[count].IsValid()) { count++; } |