skip calculation if function is none

This commit is contained in:
Simon Gardling 2022-05-25 11:33:28 -04:00
parent 02b9dcbce2
commit 535713ad66

View File

@ -259,7 +259,7 @@ impl FunctionEntry {
&mut self, width_changed: bool, min_max_changed: bool, did_zoom: bool,
settings: &AppSettings,
) {
if self.test_result.is_some() {
if self.test_result.is_some() | self.function.is_none() {
return;
}