Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-07-03 15:02:36 +0000
committerHenrik Rentz-Reichert2013-07-03 15:02:36 +0000
commit7c3b97468de89d10b6fa6e77b97863f33a5de725 (patch)
treec3679e784836d78cd3de2e9f0606a88a48c8c9e5
parente0779a4797ca2094c7fa14facff700c277a19200 (diff)
downloadorg.eclipse.etrice-7c3b97468de89d10b6fa6e77b97863f33a5de725.tar.gz
org.eclipse.etrice-7c3b97468de89d10b6fa6e77b97863f33a5de725.tar.xz
org.eclipse.etrice-7c3b97468de89d10b6fa6e77b97863f33a5de725.zip
[ui.common] defaults for auto-save are true
-rw-r--r--plugins/org.eclipse.etrice.ui.common/src/org/eclipse/etrice/ui/common/preferences/PreferenceInitializer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.ui.common/src/org/eclipse/etrice/ui/common/preferences/PreferenceInitializer.java b/plugins/org.eclipse.etrice.ui.common/src/org/eclipse/etrice/ui/common/preferences/PreferenceInitializer.java
index b019f71cf..02b69440a 100644
--- a/plugins/org.eclipse.etrice.ui.common/src/org/eclipse/etrice/ui/common/preferences/PreferenceInitializer.java
+++ b/plugins/org.eclipse.etrice.ui.common/src/org/eclipse/etrice/ui/common/preferences/PreferenceInitializer.java
@@ -34,7 +34,8 @@ public class PreferenceInitializer extends AbstractPreferenceInitializer {
store.setDefault(PreferenceConstants.HOR_GRID_UNIT, 10);
store.setDefault(PreferenceConstants.VER_GRID_UNIT, 10);
store.setDefault(PreferenceConstants.CONFIRM_DELETE, true);
- store.setDefault(PreferenceConstants.SAVE_DIAG_ON_FOCUS_LOST, false);
+ store.setDefault(PreferenceConstants.SAVE_DIAG_ON_FOCUS_LOST, true);
+ store.setDefault(PreferenceConstants.SAVE_TEXT_ON_FOCUS_LOST, true);
store.setDefault(PreferenceConstants.EXPORT_DIAGRAM_PATH, "doc-gen/images");
store.setDefault(PreferenceConstants.EXPORT_DIAGRAM_PATH_RELATIVE_TO, PreferenceConstants.PATH_REL_TO_PROJECT);
store.setDefault(PreferenceConstants.EXPORT_DIAGRAM_FORMAT, PreferenceConstants.FORMAT_JPG);

Back to the top