Commit 42391b18 authored by Jasem Mutlaq's avatar Jasem Mutlaq

If there is no focuser still then return

parent a4f5849f
......@@ -549,6 +549,9 @@ void Focus::checkFocuser(int FocuserNum)
if (FocuserNum == -1)
FocuserNum = focuserCombo->currentIndex();
if (FocuserNum == -1)
return;
if (FocuserNum <= Focusers.count())
currentFocuser = Focusers.at(FocuserNum);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment