mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-31 10:23:25 +01:00
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:
parent
c4310a4c6f
commit
a5b7b85b4d
1 changed files with 1 additions and 1 deletions
|
@ -1665,7 +1665,7 @@ save_user_queue() {
|
||||||
2> $USERQUEUE
|
2> $USERQUEUE
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
if [[ ! -s $USERQUEUE ]]; then
|
if [[ ! -s $USERQUEUE ]]; then
|
||||||
break
|
continue
|
||||||
fi
|
fi
|
||||||
USERQUEUE_NAME="$(< $USERQUEUE)"
|
USERQUEUE_NAME="$(< $USERQUEUE)"
|
||||||
DEFAULT="${USERQUEUE_NAME##*/}"
|
DEFAULT="${USERQUEUE_NAME##*/}"
|
||||||
|
|
Loading…
Reference in a new issue