re-enable prefs display list after adding window and other notes

This commit is contained in:
Ben Fry
2015-06-15 08:38:16 -04:00
parent d504e892bf
commit 349e196764
3 changed files with 12 additions and 3 deletions

View File

@@ -780,9 +780,9 @@ public class PreferencesFrame {
displaySelectionBox.setModel(new DefaultComboBoxModel<String>(items));
// Disable it if you can't actually change the default display
if (displayCount == 1) {
displaySelectionBox.setEnabled(false);
}
displaySelectionBox.setEnabled(displayCount != 1);
// Send back the number (1-indexed) of the default display
return defaultNum;
}
}

View File

@@ -1,4 +1,5 @@
0238 (3.0b1)
X add note about headless exceptions that points to Github
retina fixes
X make g.pixelDensity public inside PApplet (so accessible by sketches)
@@ -63,6 +64,8 @@ _ sketch not always showing with empty draw()
_ https://github.com/processing/processing/issues/3363
_ PGraphic ignores PNG transparency (regression from 3.0a5)
_ https://github.com/processing/processing/issues/3317
_ clear() seems to be broken (maybe related to 3317)
_ https://github.com/processing/processing/issues/3378
_ sketch window briefly appears on top left corner when using OpenGL
_ https://github.com/processing/processing/issues/3308
_ sketch window is not placed at correct location when running a second time

View File

@@ -1,4 +1,6 @@
0238 (3.0b1)
X Re-enable the display menu in Preferences after display added
X Previously, the checkbox menu stayed disabled (though it updated the list)
gsoc
X Mode problems window wasn't doing line breaks
@@ -55,6 +57,10 @@ _ otherwise could run in one mode, then try to stop in another
pde/build
_ weird drag and drop exceptions in 3.x
_ https://github.com/processing/processing/issues/3383
_ need to show error message instead of exceptions when loading Android Mode
_ https://github.com/processing/processing/issues/3386
_ when variables used in size(), getting exceptions instead of any warning
_ https://github.com/processing/processing/issues/3311
_ crashed on startup w/ JavaScript mode as default b/c PdeKeyListener not found