From 280da9aee4a6153b1a829b907b806d80026fca99 Mon Sep 17 00:00:00 2001 From: Glutanimate Date: Mon, 18 Feb 2019 07:18:14 +0100 Subject: [PATCH] Fix linebreaks in add-on installation tooltips and warnings --- aqt/addons.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aqt/addons.py b/aqt/addons.py index f44519b6b..10ead2704 100644 --- a/aqt/addons.py +++ b/aqt/addons.py @@ -476,9 +476,9 @@ class AddonsDialog(QDialog): "\n" + "\n".join(names)): log, errs = self.mgr.downloadIds(updated) if log: - tooltip("\n".join(log), parent=self) + tooltip("
".join(log), parent=self) if errs: - showWarning("\n".join(errs), parent=self) + showWarning("

".join(errs), parent=self) self.redrawAddons() @@ -534,9 +534,9 @@ class GetAddons(QDialog): log, errs = self.mgr.downloadIds(ids) if log: - tooltip("\n".join(log), parent=self.addonsDlg) + tooltip("
".join(log), parent=self.addonsDlg) if errs: - showWarning("\n".join(errs)) + showWarning("

".join(errs)) self.addonsDlg.redrawAddons() QDialog.accept(self)