Make sure we pass the state to the parent class __init__ otherwise sessions don't restore correctly
This commit is contained in:
Родитель
a6deaa6682
Коммит
f5bb3737c4
|
@ -30,7 +30,7 @@ class WWTDataViewer(DataViewer):
|
|||
|
||||
def __init__(self, session, parent=None, state=None):
|
||||
|
||||
super(WWTDataViewer, self).__init__(session, parent=parent)
|
||||
super(WWTDataViewer, self).__init__(session, parent=parent, state=state)
|
||||
|
||||
from pywwt.qt import WWTQtClient
|
||||
self._wwt_client = WWTQtClient()
|
||||
|
|
Загрузка…
Ссылка в новой задаче