From 9f5ce8f0a6990257eabde46ff06f947d62b3e31e Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Sun, 6 Apr 2014 23:18:17 +0200 Subject: [PATCH] Refresh incomplete after SF paste, fix #941 --- companion/src/modeledit/customfunctions.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/companion/src/modeledit/customfunctions.cpp b/companion/src/modeledit/customfunctions.cpp index 833582f0e..e6a200b25 100644 --- a/companion/src/modeledit/customfunctions.cpp +++ b/companion/src/modeledit/customfunctions.cpp @@ -498,6 +498,9 @@ void CustomFunctionsPanel::fswPaste() lock = true; populateSwitchCB(fswtchSwtch[selectedFunction], model.funcSw[selectedFunction].swtch, generalSettings, POPULATE_ONOFF); populateFuncCB(fswtchFunc[selectedFunction], model.funcSw[selectedFunction].func); + populateGVmodeCB(fswtchGVmode[selectedFunction], model.funcSw[selectedFunction].adjustMode); + populateFuncParamCB(fswtchParamT[selectedFunction], model, model.funcSw[selectedFunction].func, model.funcSw[selectedFunction].param, model.funcSw[selectedFunction].adjustMode); + populateFuncParamArmTCB(fswtchParamArmT[selectedFunction], model.funcSw[selectedFunction].paramarm, paramarmList); refreshCustomFunction(selectedFunction); lock = false; emit modified();