Fixed logviewer from memo/convo
This commit is contained in:
parent
ee7a1fc043
commit
fb955f5980
2 changed files with 2 additions and 2 deletions
2
convo.py
2
convo.py
|
@ -332,7 +332,7 @@ class PesterText(QtWidgets.QTextEdit):
|
|||
self.mainwindow = self.parent().mainwindow
|
||||
else:
|
||||
self.mainwindow = self.parent()
|
||||
if type(parent.parent()) is PesterTabWindow:
|
||||
if type(parent.parent) is PesterTabWindow:
|
||||
self.tabobject = parent.parent()
|
||||
self.hasTabs = True
|
||||
else:
|
||||
|
|
2
memos.py
2
memos.py
|
@ -265,7 +265,7 @@ class MemoText(PesterText):
|
|||
self.mainwindow = self.parent().mainwindow
|
||||
else:
|
||||
self.mainwindow = self.parent()
|
||||
if type(parent.parent()) is PesterTabWindow:
|
||||
if type(parent.parent) is PesterTabWindow:
|
||||
self.tabobject = parent.parent()
|
||||
self.hasTabs = True
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue