diff options
| author | tassaron | 2017-06-24 23:12:41 -0400 |
|---|---|---|
| committer | tassaron | 2017-06-24 23:12:41 -0400 |
| commit | e32ba958cb95146728d4985221b08c7e01b35470 (patch) | |
| tree | 1fce99082617a5a92a758851e51c32999774d212 /src/components/original.py | |
| parent | 4d955c5a06d8d77c968f594a85b71b516919bcfb (diff) | |
fixing bugs
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") |
