robweber / cronxbmc

A simple Cron-like service for Kodi
MIT License
19 stars 19 forks source link

function is removed when cancelling from keyboard box #31

Closed Shredder5262 closed 1 year ago

Shredder5262 commented 1 year ago

I have just noticed an 'odd' behavior when looking into existing cron jobs Built-in functions. If for example, I have a job already set up and i navigate into the built-in function where a command for a job exists, the keyboard dialog box opens to display the command. If I select cancel.,..implying that i don't want to alter the job in any way, the command/function is removed altogether. IMO this shouldn't work like this, It should leave the existing command in place. I don't know why it deletes it.

robweber commented 1 year ago

I read through the functions in the code related to this and couldn't see any reason this should happen on it's own. I'll test it out and see what's going on there.

robweber commented 1 year ago

Looks like in the documentation it states that Cancel returns an empty string. I added a check for this.