Skip to content

Commit

Permalink
Fix of #2168
Browse files Browse the repository at this point in the history
  • Loading branch information
YuSanka committed Apr 29, 2019
1 parent 2c9e381 commit c881504
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/slic3r/GUI/wxExtensions.cpp
Expand Up @@ -2351,8 +2351,9 @@ void ModeButton::SetState(const bool state)

void ModeButton::focus_button(const bool focus)
{
wxFont font = GetFont();
const wxFont& new_font = focus ? font.Bold() : font.GetBaseFont();
const wxFont& new_font = focus ?
Slic3r::GUI::wxGetApp().bold_font() :
Slic3r::GUI::wxGetApp().normal_font();

SetFont(new_font);

Expand Down

0 comments on commit c881504

Please sign in to comment.