summaryrefslogtreecommitdiff
path: root/src/gui/fpg_button.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/fpg_button.pas')
-rw-r--r--src/gui/fpg_button.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/fpg_button.pas b/src/gui/fpg_button.pas
index b3bb60c6..0cbb1397 100644
--- a/src/gui/fpg_button.pas
+++ b/src/gui/fpg_button.pas
@@ -546,6 +546,9 @@ begin
if FEmbedded then
Include(lBtnFlags, btfIsEmbedded);
+ if not Enabled then
+ Include(lBtnFlags, btfDisabled);
+
// In the UI Designer we want the button more visible
if not (csDesigning in ComponentState) then
begin