src/hbwidgets/widgets/hbcombobox_p.h
changeset 7 923ff622b8b9
parent 3 11d3954df52a
child 21 4633027730f5
child 34 ed14f46c0e55
--- a/src/hbwidgets/widgets/hbcombobox_p.h	Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbwidgets/widgets/hbcombobox_p.h	Tue Jul 06 14:36:53 2010 +0300
@@ -137,6 +137,14 @@
         VkbLaunched( false ) {
     }
 
+    ~HbCustomLineEdit() {
+        HbEditorInterface editorInterface( this );
+        HbVkbHost *host = editorInterface.vkbHost( );
+        if( host ) {
+            host->disconnect();
+        }
+    }
+
     void setLongPressEnabled( bool enable = true ) {
         if( enable ) {
             scrollArea( )->setLongPressEnabled( true );