Fix linebreaks in add-on installation tooltips and warnings
This commit is contained in:
parent
cc0dc812ad
commit
280da9aee4
@ -476,9 +476,9 @@ class AddonsDialog(QDialog):
|
|||||||
"\n" + "\n".join(names)):
|
"\n" + "\n".join(names)):
|
||||||
log, errs = self.mgr.downloadIds(updated)
|
log, errs = self.mgr.downloadIds(updated)
|
||||||
if log:
|
if log:
|
||||||
tooltip("\n".join(log), parent=self)
|
tooltip("<br>".join(log), parent=self)
|
||||||
if errs:
|
if errs:
|
||||||
showWarning("\n".join(errs), parent=self)
|
showWarning("<br><br>".join(errs), parent=self)
|
||||||
|
|
||||||
self.redrawAddons()
|
self.redrawAddons()
|
||||||
|
|
||||||
@ -534,9 +534,9 @@ class GetAddons(QDialog):
|
|||||||
log, errs = self.mgr.downloadIds(ids)
|
log, errs = self.mgr.downloadIds(ids)
|
||||||
|
|
||||||
if log:
|
if log:
|
||||||
tooltip("\n".join(log), parent=self.addonsDlg)
|
tooltip("<br>".join(log), parent=self.addonsDlg)
|
||||||
if errs:
|
if errs:
|
||||||
showWarning("\n".join(errs))
|
showWarning("<br><br>".join(errs))
|
||||||
|
|
||||||
self.addonsDlg.redrawAddons()
|
self.addonsDlg.redrawAddons()
|
||||||
QDialog.accept(self)
|
QDialog.accept(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user