mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
View: Tools: Tree: Minor change.
This commit is contained in:
1 parent
ac91b712a3
commit
f8829ce82c
2 files changed
+1
-7
No files matched your search
@@ -23,7 +23,7 @@ from tools import trace, timer, logger_exception
|
||||
from View.Tools.PamhyrWindow import PamhyrWindow, PamhyrDialog
|
||||
from View.Tools.PamhyrWidget import PamhyrWidget
|
||||
from View.Tools.PamhyrTree import (
|
||||
PamhyrModelRoot, PamhyrModelItem, PamhyrModelListItem,
|
||||
PamhyrModelItem, PamhyrModelListItem,
|
||||
)
|
||||
|
||||
from PyQt5.QtGui import (
|
||||
|
||||
@@ -35,12 +35,6 @@ from PyQt5.QtWidgets import (
|
||||
logger = logging.getLogger()
|
||||
|
||||
|
||||
class PamhyrModelRoot(QTreeWidgetItem):
|
||||
def __init__(self, parent=None):
|
||||
super(PamhyrModelRoot, self).__init__(
|
||||
parent, ["Root"],
|
||||
)
|
||||
|
||||
class PamhyrModelItem(QTreeWidgetItem):
|
||||
def __init__(self, data=None, trad=None, parent=None):
|
||||
self._data = data
|
||||
|
||||
Reference in new issue
Block a user