From 9d45083605c4be0414140c9c48c53b228043dc5d Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 5 Dec 2015 21:51:10 +0000 Subject: [PATCH] lcl: fixed crash in default QuestionDlg git-svn-id: trunk@50661 - --- lcl/include/promptdialog.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/include/promptdialog.inc b/lcl/include/promptdialog.inc index 4c0761cec8..a5d1507939 100644 --- a/lcl/include/promptdialog.inc +++ b/lcl/include/promptdialog.inc @@ -654,7 +654,7 @@ begin end; end; FMsgMemo.Visible:=true; - end else + end else if FMsgMemo<>nil then FMsgMemo.Visible:=false; // calculate the width we need to display the buttons