mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 22:24:14 +02:00
rendering warnings as html
This commit is contained in:
@@ -236,7 +236,7 @@ class ManageWindow(QWidget):
|
|||||||
|
|
||||||
def _show_warnings(self, warnings: List[str]):
|
def _show_warnings(self, warnings: List[str]):
|
||||||
if warnings:
|
if warnings:
|
||||||
dialog.show_message(title=self.locale_keys['warning'].capitalize(), body='\n'.join(warnings), type_=MessageType.WARNING)
|
dialog.show_message(title=self.locale_keys['warning'].capitalize(), body='<p>{}</p>'.format('<br/>'.join(warnings)), type_=MessageType.WARNING)
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
super(ManageWindow, self).show()
|
super(ManageWindow, self).show()
|
||||||
|
|||||||
Reference in New Issue
Block a user