Skip to content

Commit

Permalink
updated template paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ggmarshall committed Oct 30, 2023
1 parent 31fc255 commit a70a22b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/leds/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Waveform_window(QWidget):

def __init__(self, browsers, ev):
super().__init__()
uic.loadUi("layouts/legend_waveform_display.ui", self)
uic.loadUi(os.path.join(os.path.dirname(__file__,"layouts/legend_waveform_display.ui")), self)
self.browsers = browsers
self.ev = ev

Expand Down Expand Up @@ -148,7 +148,7 @@ class MainWindow(QtWidgets.QMainWindow):

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
uic.loadUi("layouts/legend_event_display2.ui", self)
uic.loadUi(os.path.join(os.path.dirname(__file__,"layouts/legend_event_display2.ui")), self)
# Create the maptlotlib FigureCanvas object,
# which defines a single set of axes as self.axes.
self.canvas = MplCanvas(self, width=10, height=10, dpi=100)
Expand Down

0 comments on commit a70a22b

Please sign in to comment.