Browse Source

FL: Reset boxtypes before activating new theme.

tags/non-daw-v1.2.0
Jonathan Moore Liles 13 years ago
parent
commit
5e63b25504
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      FL/Fl_Theme.C

+ 3
- 0
FL/Fl_Theme.C View File

@@ -146,6 +146,9 @@ Fl_Theme::set ( const char *name )
for ( Fl_Theme *t = first; t; t = t->next )
if ( !strcasecmp( t->name(), name ) )
{
/* reset boxtypes */
Fl::reload_scheme();

printf( "Theme set to %s\n", t->name() );
t->_init_func();
Fl_Theme::_current = t;


Loading…
Cancel
Save