if save clicked then exit

pull/39/head
Botspot 5 years ago
parent aa1a4169ce
commit 9b7fcb6e90

@ -115,6 +115,11 @@ Do you want to edit ${name}?" --timeout=10 \
--text="Name of app may not be left blank!" --timeout=10 \ --text="Name of app may not be left blank!" --timeout=10 \
--button=OK:0 --button=OK:0
fi fi
#if Save was clicked then exit now
if [ $button == 4 ];then
exit 0
fi
elif [ $button == 2 ];then elif [ $button == 2 ];then
#previous - don't save changes #previous - don't save changes
step=1 step=1

Loading…
Cancel
Save