Skip to content
Snippets Groups Projects
Commit 4881a373 authored by Anders H. Rebner's avatar Anders H. Rebner
Browse files

Fikset super-kall i test_soi.py

parent e2c0f7b5
No related branches found
No related tags found
1 merge request!40#38 #39 Eksporter og importer SOI til/fra fil
Pipeline #76020 passed
......@@ -33,9 +33,9 @@ class TestModule(ModuleBase, QWidget, metaclass=Meta):
def __init__(self, color, width, height, *args, **kwargs):
self.type = "TestModule"
# super(ModuleBase, self).__init__()
QWidget.__init__(self, *args, **kwargs)
ModuleBase.__init__(self)
super(TestModule, self).__init__(*args, **kwargs)
self.setAutoFillBackground(True)
palette = self.palette()
palette.setColor(QPalette.Window, QColor(color))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment