[education/kstars] kstars/ekos/guide: Fix wizard state transition when stopped

Jasem Mutlaq <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 366438e8cce130e47fddd86cbbe126d20a2b0774 by Jasem Mutlaq.
Committed on 17/07/2026 at 19:33.
Pushed by mutlaqja into branch 'master'.

Fix wizard state transition when stopped

M  +1    -1    kstars/ekos/guide/aiguideprotocol.cpp

https://invent.kde.org/education/kstars/-/commit/366438e8cce130e47fddd86cbbe126d20a2b0774

diff --git a/kstars/ekos/guide/aiguideprotocol.cpp b/kstars/ekos/guide/aiguideprotocol.cpp
index 4b639e582f..a692c5b9c6 100644
--- a/kstars/ekos/guide/aiguideprotocol.cpp
+++ b/kstars/ekos/guide/aiguideprotocol.cpp
@@ -252,7 +252,7 @@ void AIGuideProtocol::stop()
         disconnect(m_Guide, &Guide::guideStats, this, &AIGuideProtocol::onGuideStats);
     }
     restoreSettings();
-    m_State = STATE_DONE;
+    m_State = STATE_IDLE;
     emit protocolLog("Protocol Aborted by User");
     emit protocolStopped();
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.