Kaydet (Commit) 0c1cd678 authored tarafından Noel Grandin's avatar Noel Grandin

tdf#105017 Crash when click a "New Theme..." in Gallery on detached SideBar

Change-Id: I6a3c44a0a08cf036776976d40c985889698c08ac
Reviewed-on: https://gerrit.libreoffice.org/33041Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit a076a062)
Reviewed-on: https://gerrit.libreoffice.org/33056Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 098d9092
......@@ -1039,7 +1039,7 @@ void Dialog::SetModalInputMode( bool bModal )
// Disable the prev Modal Dialog, because our dialog must close at first,
// before the other dialog can be closed (because the other dialog
// is on stack since our dialog returns)
if ( mpPrevExecuteDlg && !mpPrevExecuteDlg->IsWindowOrChild( this, true ) )
if ( mpPrevExecuteDlg && !mpPrevExecuteDlg->isDisposed() && !mpPrevExecuteDlg->IsWindowOrChild( this, true ) )
mpPrevExecuteDlg->EnableInput( false, this );
// determine next overlap dialog parent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment