ci-gui: don't attempt to install if no titles are added

This commit is contained in:
Ian Burgwin
2020-07-22 21:31:45 -07:00
parent bc7f20361c
commit 0741e4b5eb

View File

@@ -343,6 +343,9 @@ class CustomInstallGUI(ttk.Frame):
self.log('Starting install...') self.log('Starting install...')
cias = self.cia_listbox.get(0, tk.END) cias = self.cia_listbox.get(0, tk.END)
if not len(cias):
self.show_error('There are no titles added to install.')
return
installer = CustomInstall(boot9=boot9, installer = CustomInstall(boot9=boot9,
seeddb=seeddb, seeddb=seeddb,