From 9845aa2966a70cb312a8f4cd570eb8d4b083fc09 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Tue, 5 Feb 2019 10:12:11 +0100 Subject: [PATCH] missing close for the input popop added --- src/inputpanel/QskInputContext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/inputpanel/QskInputContext.cpp b/src/inputpanel/QskInputContext.cpp index f196f718..3c516d85 100644 --- a/src/inputpanel/QskInputContext.cpp +++ b/src/inputpanel/QskInputContext.cpp @@ -395,6 +395,7 @@ void QskInputContext::showPanel( const QQuickItem* item ) auto popup = m_data->createPopup( panel ); + popup->setPopupFlag( QskPopup::DeleteOnClose, true ); popup->setParentItem( item->window()->contentItem() ); popup->setParent( this ); @@ -414,7 +415,7 @@ void QskInputContext::hidePanel( const QQuickItem* item ) if ( auto channel = m_data->channels.channel( item ) ) { if ( channel->popup ) - channel->popup->deleteLater(); + channel->popup->close(); // deleteOnClose is set if ( channel->window ) channel->window->close(); // deleteOnClose is set