summaryrefslogtreecommitdiffstats
path: root/style/qtcurve.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'style/qtcurve.cpp')
-rw-r--r--style/qtcurve.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp
index 5f95f66..9f06adb 100644
--- a/style/qtcurve.cpp
+++ b/style/qtcurve.cpp
@@ -8106,7 +8106,7 @@ const TQColor * QtCurveStyle::getMdiColors(const TQColorGroup &cg, bool active)
}
}
- if(opts.shadeMenubarOnlyWhenActive && SHADE_WINDOW_BORDER==opts.shadeMenubars &&
+ if(itsMdiColors && opts.shadeMenubarOnlyWhenActive && SHADE_WINDOW_BORDER==opts.shadeMenubars &&
itsActiveMdiColors[ORIGINAL_SHADE]==itsMdiColors[ORIGINAL_SHADE])
opts.shadeMenubarOnlyWhenActive=false;