missing close for the input popop added
This commit is contained in:
parent
35a0d8336b
commit
9845aa2966
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user