Fixing some compiler warnings

This commit is contained in:
Vojtech Bubnik 2021-02-24 19:53:50 +01:00
parent 539e80e890
commit 6f5bf71f11
2 changed files with 2 additions and 2 deletions

View file

@ -3834,7 +3834,7 @@ bool Tab::validate_custom_gcodes()
{
bool valid = true;
if ((m_type == Preset::TYPE_FILAMENT ||
m_type == Preset::TYPE_PRINTER && static_cast<TabPrinter*>(this)->m_printer_technology == ptFFF) &&
(m_type == Preset::TYPE_PRINTER && static_cast<TabPrinter*>(this)->m_printer_technology == ptFFF)) &&
m_active_page->title() == "Custom G-code") {
for (auto opt_group : m_active_page->m_optgroups) {
assert(opt_group->opt_map().size() == 1);