mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-29 22:45:17 -04:00
Do not ask for path is queue is empty
This commit is contained in:
parent
e12bd102fa
commit
a908559687
1 changed files with 3 additions and 0 deletions
|
@ -356,6 +356,9 @@ func (mw *MainWindow) ShowAll() {
|
||||||
|
|
||||||
mw.addToQueueButton.Connect("clicked", mw.onAddToQueueClicked)
|
mw.addToQueueButton.Connect("clicked", mw.onAddToQueueClicked)
|
||||||
downloadQueueButton.Connect("clicked", func() {
|
downloadQueueButton.Connect("clicked", func() {
|
||||||
|
if len(mw.titleQueue) == 0 {
|
||||||
|
return
|
||||||
|
}
|
||||||
mw.progressWindow, err = wiiudownloader.CreateProgressWindow(mw.window)
|
mw.progressWindow, err = wiiudownloader.CreateProgressWindow(mw.window)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue