only close deck if downloading deck, not plugin

This commit is contained in:
Damien Elmes 2009-06-12 12:21:07 +09:00
parent 56d0e20cca
commit f3e8f6a5db

View file

@ -184,6 +184,7 @@ class GetShared(QDialog):
self.form.table.setSelectionBehavior(QAbstractItemView.SelectRows)
def accept(self):
if self.type == 0:
if not self.parent.saveAndClose(hideWelcome=True, parent=self):
return QDialog.accept(self)
h = QHttp(self)