BIM: Fixed leftover bugs

This commit is contained in:
Yorik van Havre
2024-05-02 15:26:48 +02:00
committed by Yorik van Havre
parent 76e901861d
commit 3593946d1c
13 changed files with 32 additions and 18 deletions

View File

@@ -71,7 +71,7 @@ def htmlize(diff):
def show_diff(diff):
"""Shows a dialog showing the diff contents"""
dlg = FreeCADGui.PySideUic.loadUi(":/ui/dialogDiff.ui"))
dlg = FreeCADGui.PySideUic.loadUi(":/ui/dialogDiff.ui")
dlg.textEdit.setStyleSheet("background-color: white; color: black;")
dlg.textEdit.setHtml(htmlize(diff))
result = dlg.exec_()