mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 01:29:20 +02:00
LCL: gtk2: QuestionDlg: when too much text use default dialog, which has scrollable text
git-svn-id: branches/fixes_1_6@50575 -
This commit is contained in:
parent
e7228468d7
commit
e910733af6
@ -975,6 +975,13 @@ var
|
||||
begin
|
||||
Result := mrNone;
|
||||
ReleaseCapture;
|
||||
|
||||
if (Length(DialogMessage)>1000) then
|
||||
begin
|
||||
Result:=inherited;
|
||||
exit;
|
||||
end;
|
||||
|
||||
ADialogResult := mrCancel;
|
||||
case DialogType of
|
||||
idDialogWarning: GtkDialogType := GTK_MESSAGE_WARNING;
|
||||
|
Loading…
Reference in New Issue
Block a user