diff options
| author | Brianna | 2017-06-25 10:40:48 -0400 |
|---|---|---|
| committer | GitHub | 2017-06-25 10:40:48 -0400 |
| commit | 55423ca4aa206ec9a082942ca89da7dcb4f452bc (patch) | |
| tree | c65d2d5c908f472389dee4d1e03f8fe88e88dacf /src/components/original.py | |
| parent | 1bb67d1513122ca7fb02e60a92339bd1a73dbee3 (diff) | |
| parent | a2838a0c3898f999e71f76e6e8d5691155438aea (diff) | |
Merge pull request #35 from djfun/newgui-bugfixes
Newgui bugfixes
Diffstat (limited to 'src/components/original.py')
| -rw-r--r-- | src/components/original.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/original.py b/src/components/original.py index 0d5001c..0185e0d 100644 --- a/src/components/original.py +++ b/src/components/original.py @@ -1,6 +1,6 @@ import numpy from PIL import Image, ImageDraw -from PyQt5 import uic, QtGui, QtCore, QtWidgets +from PyQt5 import QtGui, QtCore, QtWidgets from PyQt5.QtGui import QColor import os from . import __base__ @@ -17,8 +17,7 @@ class Component(__base__.Component): self.parent = parent self.visColor = (255, 255, 255) - page = uic.loadUi(os.path.join( - os.path.dirname(os.path.realpath(__file__)), 'original.ui')) + page = self.loadUi('original.ui') page.comboBox_visLayout.addItem("Classic") page.comboBox_visLayout.addItem("Split") page.comboBox_visLayout.addItem("Bottom") |
