From 30d13baeab641ac3faad754a184a78f729b1a7a9 Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Sun, 9 Feb 2014 20:19:15 +0100 Subject: [PATCH] Don't update pot warnings when not applicable --- companion/src/modeledit/setup.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/companion/src/modeledit/setup.cpp b/companion/src/modeledit/setup.cpp index 1ac5130ff..4f6e51ecf 100644 --- a/companion/src/modeledit/setup.cpp +++ b/companion/src/modeledit/setup.cpp @@ -563,7 +563,10 @@ void Setup::update() updateBeepCenter(); updateStartupSwitches(); - updatePotWarnings(); + + if(IS_TARANIS(GetEepromInterface()->getBoard())) { + updatePotWarnings(); + } for (int i=0; iupdate();