[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: Plugin unloading issues
From: "=?UTF-8?Q?Rafael_Fern=C3=A1ndez_L=C3=B3pez?=" <ereslibre () gmail ! com>
Date: 2007-08-17 21:51:43
Message-ID: 93f85fee0708171451q388ad2cfsad37d1184cd0d62 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (text/plain)]
There you go,
I have been spending more time on this issue, and reading docs
carefully. Ok, it seems we were missing a stupid stuff on
katedocument.cpp.
So the problem has been understood and fixed.
Please tell me if the attached patch is OK to commit.
Bye and thank you,
Rafael Fernández López.
["katepluginunloading.diff" (text/x-diff)]
Index: document/katedocument.cpp
===================================================================
--- document/katedocument.cpp (revisión: 701027)
+++ document/katedocument.cpp (copia de trabajo)
@@ -462,6 +462,9 @@
factory->removeClient( view );
plugin->removeView( view );
+
+ if ( factory )
+ factory->addClient( view );
}
void KateDocument::disablePluginGUI (KTextEditor::Plugin *plugin)
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic