summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-21 20:46:45 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-21 20:46:45 (GMT)
commit51210154c36ee28ad803099a85bebedcfca49051 (patch)
tree44ee8837e51317d981fe9a056bd4bead2fda515a
parent816026d08b41b8c04cec5b27521aaab77b4df9ae (diff)
Always use full width & height in Align module
-rw-r--r--kstars/ekos/align/align.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kstars/ekos/align/align.cpp b/kstars/ekos/align/align.cpp
index e6bb973..b6ce078 100644
--- a/kstars/ekos/align/align.cpp
+++ b/kstars/ekos/align/align.cpp
@@ -392,7 +392,8 @@ void Align::syncCCDInfo()
if (svp)
setWCSEnabled(Options::solverWCS());
- targetChip->getFrame(&x,&y,&ccd_width,&ccd_height);
+ targetChip->getFrameMinMax(NULL, NULL, NULL, NULL, NULL, &ccd_width, NULL, &ccd_height);
+ //targetChip->getFrame(&x,&y,&ccd_width,&ccd_height);
binningCombo->setEnabled(targetChip->canBin());
if (targetChip->canBin())
{