skip calculation if function is none
This commit is contained in:
parent
02b9dcbce2
commit
535713ad66
@ -259,7 +259,7 @@ impl FunctionEntry {
|
|||||||
&mut self, width_changed: bool, min_max_changed: bool, did_zoom: bool,
|
&mut self, width_changed: bool, min_max_changed: bool, did_zoom: bool,
|
||||||
settings: &AppSettings,
|
settings: &AppSettings,
|
||||||
) {
|
) {
|
||||||
if self.test_result.is_some() {
|
if self.test_result.is_some() | self.function.is_none() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user