mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: #1206 fixed nelContext bug
This commit is contained in:
parent
ea7b339d39
commit
b564f8988a
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ void MyPlugin::execMessageBox()
|
||||||
void MyPlugin::setNelContext(NLMISC::INelContext *nelContext)
|
void MyPlugin::setNelContext(NLMISC::INelContext *nelContext)
|
||||||
{
|
{
|
||||||
nlassert(!NLMISC::INelContext::isContextInitialised());
|
nlassert(!NLMISC::INelContext::isContextInitialised());
|
||||||
_LibContext = static_cast<NLMISC::CLibraryContext *>(nelContext);
|
_LibContext = new NLMISC::CLibraryContext(*nelContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString MyPlugin::name() const
|
QString MyPlugin::name() const
|
||||||
|
|
|
@ -99,7 +99,7 @@ void CLogPlugin::createLogDock()
|
||||||
void CLogPlugin::setNelContext(NLMISC::INelContext *nelContext)
|
void CLogPlugin::setNelContext(NLMISC::INelContext *nelContext)
|
||||||
{
|
{
|
||||||
nlassert(!NLMISC::INelContext::isContextInitialised());
|
nlassert(!NLMISC::INelContext::isContextInitialised());
|
||||||
_LibContext = static_cast<NLMISC::CLibraryContext *>(nelContext);
|
_LibContext = new NLMISC::CLibraryContext(*nelContext);
|
||||||
|
|
||||||
_displayer = new NLQT::CQtDisplayer(_ui.plainTextEdit);
|
_displayer = new NLQT::CQtDisplayer(_ui.plainTextEdit);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue