QskDialogSubWindow::done fixed
This commit is contained in:
parent
6fb347eef9
commit
f52b8a2e46
|
@ -343,11 +343,12 @@ void QskDialogSubWindow::done( QskDialog::DialogCode result )
|
||||||
{
|
{
|
||||||
m_data->result = result;
|
m_data->result = result;
|
||||||
|
|
||||||
if ( !isOpen() )
|
if ( isOpen() )
|
||||||
return;
|
{
|
||||||
|
qskSetRejectOnClose( this, false );
|
||||||
qskSetRejectOnClose( this, false );
|
close();
|
||||||
close();
|
qskSetRejectOnClose( this, true );
|
||||||
|
}
|
||||||
|
|
||||||
Q_EMIT finished( result );
|
Q_EMIT finished( result );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue