Similar to my bug with the color schemes earlier…
When switching between production and development databases, and creating new Editor windows, the editor defaults the database connection to the same database opened earlier.
Steps to replicate:
Disconnect/close all connections
Make sure you have 2 or more database connections
Double-click on one database connection (production database for example)
Press CTRL-N to open a new Editor window
The dropdown database should point to the production database
Double-click on another database connection
Press CTRL-N again to open a new editor window
The dropdown database list is still defaulting to the FIRST database in step 3!
A very dangerous bug if you ask me!
The only way around this is to set the Database to automatically open an Editor window, via the Options.
Options -> Database -> Open Editor on Startup.
It should work regardless of that option. CTRL-N to open a new Editor should always default to the currently active and open database.