Tiny change to save_user_queue() to prevent the user losing their queue when

they clear the file name in the save dialog and hit okay - before it would
behave as a 'cancel' and now it presents the dialog again. Thanks to Pierre
Cazenave for the suggestion.
This commit is contained in:
slakmagik 2009-07-23 00:15:45 +00:00
parent c4310a4c6f
commit a5b7b85b4d

View file

@ -1665,7 +1665,7 @@ save_user_queue() {
2> $USERQUEUE
if [[ $? == 0 ]]; then
if [[ ! -s $USERQUEUE ]]; then
break
continue
fi
USERQUEUE_NAME="$(< $USERQUEUE)"
DEFAULT="${USERQUEUE_NAME##*/}"