IDEA-146465 Do not enable the checkbox "Update issue state" by default
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Sat, 6 Aug 2016 18:35:33 +0000 (21:35 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 8 Aug 2016 12:42:45 +0000 (15:42 +0300)
since it might lead to accidental change of an issue state, especially
if user tries our integration with bug trackers for the first time.

plugins/tasks/tasks-core/src/com/intellij/tasks/actions/OpenTaskDialog.java

index 7e2335cd8368e644d8ac79fc94e9ddd2eabae395..9cbf99b5a3d601c83d214fe1ea54d3fd5b1f9b29 100644 (file)
@@ -77,7 +77,7 @@ public class OpenTaskDialog extends DialogWrapper {
       myUpdateState.setVisible(false);
       myTaskStateCombo.setVisible(false);
     }
-    final boolean stateUpdatesEnabled = PropertiesComponent.getInstance(project).getBoolean(UPDATE_STATE_ENABLED, true);
+    final boolean stateUpdatesEnabled = PropertiesComponent.getInstance(project).getBoolean(UPDATE_STATE_ENABLED, false);
     myUpdateState.setSelected(stateUpdatesEnabled);
     myUpdateState.addActionListener(new ActionListener() {
       @Override