Commit 80cb32f1 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Hide mount control on disconnection

parent c3194ac8
......@@ -180,6 +180,7 @@ void Mount::setTelescope(ISD::GDInterface *newTelescope)
connect(currentTelescope, SIGNAL(switchUpdated(ISwitchVectorProperty *)), this,
SLOT(updateSwitch(ISwitchVectorProperty *)), Qt::UniqueConnection);
connect(currentTelescope, SIGNAL(newTarget(QString)), this, SIGNAL(newTarget(QString)), Qt::UniqueConnection);
connect(currentTelescope, SIGNAL(Disconnected()), m_BaseView, SLOT(hide()), Qt::UniqueConnection);
//Disable this for now since ALL INDI drivers now log their messages to verbose output
//connect(currentTelescope, SIGNAL(messageUpdated(int)), this, SLOT(updateLog(int)), Qt::UniqueConnection);
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