Updating schedule for devices having dialog open
This commit is contained in:
parent
f4cf163530
commit
9e54aa619c
2 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
property ActionPoint actionPoint
|
||||
property alias absoluteHour: inputAbsoluteHourText.text
|
||||
property alias absoluteMinute: inputAbsoluteMinuteText.text
|
||||
property alias dialogOpacity: container.opacity
|
||||
|
||||
focus: true
|
||||
Keys.onPressed: {
|
||||
|
|
|
@ -539,6 +539,9 @@ import "schedulerscripts.js" as Scripts
|
|||
//var jobs = new Array();
|
||||
var points = new Array();
|
||||
var days = Scripts.getDays();
|
||||
if(dialog.dialogOpacity == 1){
|
||||
Scripts.setChanged(dialog.actionPoint.deviceRow.deviceId, true); //set the devicerow that the currently visible dialog is connected to as dirty
|
||||
}
|
||||
for(var i=0;i<deviceModel.length;i++){
|
||||
var deviceId = deviceModel.get(i).id;
|
||||
if(!Scripts.hasChanged(deviceId)){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue