summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 8c520342a..ce893c360 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -102,6 +102,8 @@ Window::Window(const std::string &caption, const bool modal,
if (mSkin)
{
setPadding(mSkin->getPadding());
+ if (getOptionBool("titlebarBold"))
+ mCaptionFont = reinterpret_cast<gcn::Font*>(boldFont);
setTitlePadding(mSkin->getTitlePadding());
setTitleBarHeight(getOption("titlebarHeight"));
mCaptionOffsetX = getOption("captionoffsetx");