mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
better support for changing sketchbook location in prefs
hide editor window while prefs are open
This commit is contained in:
@@ -912,11 +912,14 @@ public class PdeEditor extends JFrame
|
||||
* Show the (already created on app init) preferences window.
|
||||
*/
|
||||
public void handlePrefs() {
|
||||
// make sure this blocks until finished
|
||||
preferences.showFrame();
|
||||
// since this can't actually block, it'll hide
|
||||
// the editor window while the prefs are open
|
||||
preferences.showFrame(this);
|
||||
// and then call applyPreferences if 'ok' is hit
|
||||
// and then unhide
|
||||
|
||||
// may need to rebuild sketch and other menus
|
||||
applyPreferences();
|
||||
//applyPreferences();
|
||||
|
||||
// next have editor do its thing
|
||||
//editor.appyPreferences();
|
||||
|
||||
Reference in New Issue
Block a user