Permalink
Browse files

Store edge slope in user preferences.

  • Loading branch information...
1 parent ed23922 commit 4c72a65904e13009f5d2c13eda21fa03e4399a92 @jawi committed Nov 1, 2010
@@ -375,6 +375,9 @@ public void readPreferences( final Preferences aPreferences )
String colorSchemeName = aPreferences.get( "colorScheme", this.colorScheme.name() );
setColorScheme( ColorScheme.valueOf( colorSchemeName ) );
+
+ String edgeSlopeName = aPreferences.get( "edgeSlope", this.edgeSlope.name() );
+ setEdgeSlope( EdgeSlope.valueOf( edgeSlopeName ) );
}
/**
@@ -673,6 +676,7 @@ public void writePreferences( final Preferences aPreferences )
aPreferences.put( "colorTarget", this.colorTarget.name() );
aPreferences.put( "colorScheme", this.colorScheme.name() );
+ aPreferences.put( "edgeSlope", this.edgeSlope.name() );
}
/**

0 comments on commit 4c72a65

Please sign in to comment.