save user UI config (colors) file as soon as colors change or "restore defaults" is used
git-svn-id: svn://localhost/ardour2/branches/3.0@13729 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
54276f7e78
commit
176fc3dd97
|
@ -182,7 +182,10 @@ ThemeManager::button_press_event (GdkEventButton* ev)
|
|||
|
||||
ccvar = (*iter)[columns.pVar];
|
||||
ccvar->set(rgba);
|
||||
/* mark dirty ... */
|
||||
ARDOUR_UI::config()->set_dirty ();
|
||||
/* but save it immediately */
|
||||
ARDOUR_UI::config()->save_state ();
|
||||
|
||||
ColorsChanged(); //EMIT SIGNAL
|
||||
break;
|
||||
|
@ -373,5 +376,9 @@ ThemeManager::reset_canvas_colors()
|
|||
{
|
||||
ARDOUR_UI::config()->load_defaults();
|
||||
setup_theme ();
|
||||
/* mark dirty ... */
|
||||
ARDOUR_UI::config()->set_dirty ();
|
||||
/* but save it immediately */
|
||||
ARDOUR_UI::config()->save_state ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user