From 7b5f138dfb962810957ea6baa7ce282b33b758b0 Mon Sep 17 00:00:00 2001 From: GullCode Date: Thu, 16 Mar 2023 12:03:00 +0100 Subject: [PATCH] Fixing max(field_frequency_max.value()*1000000); new_view->on_changed = [this, &field](rf::Frequency f) { int32_t freq = f / 1000000 ; - if( freq < steps ) - freq= steps ; + if( freq < 20 ) + freq = 20 ; field_frequency_max.set_value( freq ); if( field_frequency_min.value() > ( freq - steps) ) field_frequency_min.set_value( freq - steps );