Fix crash in Downloads tab while startup
This commit is contained in:
parent
9b1c068a07
commit
dcaae46649
1 changed files with 1 additions and 2 deletions
|
@ -199,8 +199,7 @@ class DownloadTab(QWidget):
|
||||||
|
|
||||||
def get_install_options(self, options: InstallOptionsModel):
|
def get_install_options(self, options: InstallOptionsModel):
|
||||||
|
|
||||||
install_dialog = InstallDialog(self.core,
|
install_dialog = InstallDialog(InstallQueueItemModel(options=options),
|
||||||
InstallQueueItemModel(options=options),
|
|
||||||
update=options.update, silent=options.silent, parent=self)
|
update=options.update, silent=options.silent, parent=self)
|
||||||
install_dialog.result_ready.connect(self.on_install_dialog_closed)
|
install_dialog.result_ready.connect(self.on_install_dialog_closed)
|
||||||
install_dialog.execute()
|
install_dialog.execute()
|
||||||
|
|
Loading…
Reference in a new issue