BIM: Fixed leftover bugs
This commit is contained in:
committed by
Yorik van Havre
parent
76e901861d
commit
3593946d1c
@@ -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_()
|
||||
|
||||
Reference in New Issue
Block a user