Commit e1a3f136 authored by Eric Dejouhanet's avatar Eric Dejouhanet Committed by Jasem Mutlaq
Browse files

Add RA/DEC fields to the list of controls which trigger a save.

Summary: RA/DEC fields were not triggering the signal calling setDirty and saving the scheduler job values.

Test Plan:
Create a scheduler job with any target and sequence.
Double-click to edit the job.
Edit RA and/or DEC fields.
Without the fix, jobs would not re-evaluate on-the-fly to schedule the new coordinates, and values would not be saved.
With the fix, re-evaluation is triggered when the focus leaves the edit field, and RA/DEC changes are properly saved.

Reviewers: mutlaqja, wreissenberger

Subscribers: kde-edu

Tags: #kde_edu

Differential Revision: https://phabricator.kde.org/D14679
parent da7c8a6b
......@@ -203,6 +203,8 @@ void Scheduler::watchJobChanges(bool enable)
/* These are the widgets we want to connect, per signal function, to listen for modifications */
QLineEdit * const lineEdits[] = {
nameEdit,
raBox,
decBox,
fitsEdit,
sequenceEdit,
startupScript,
......
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