mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +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]):
|
||||
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):
|
||||
super(ManageWindow, self).show()
|
||||
|
||||
Reference in New Issue
Block a user