mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Bugfix: do not forget settings for AppearanceView
This commit is contained in:
@@ -128,8 +128,8 @@ void Settings::Save()
|
|||||||
// bloc views
|
// bloc views
|
||||||
{
|
{
|
||||||
XMLElement *viewsNode = xmlDoc.NewElement( "Views" );
|
XMLElement *viewsNode = xmlDoc.NewElement( "Views" );
|
||||||
// save current view only if [mixing, geometry or layers]
|
// save current view only if [mixing, geometry, layers, appearance]
|
||||||
int v = application.current_view > 3 ? 1 : application.current_view;
|
int v = application.current_view > 4 ? 1 : application.current_view;
|
||||||
viewsNode->SetAttribute("current", v);
|
viewsNode->SetAttribute("current", v);
|
||||||
|
|
||||||
map<int, Settings::ViewConfig>::iterator iter;
|
map<int, Settings::ViewConfig>::iterator iter;
|
||||||
|
|||||||
Reference in New Issue
Block a user