Re: Connection color is not correctly changed in query windows connection drop-down. - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: Connection color is not correctly changed in query windows connection drop-down.
Date
Msg-id 4C9D9F95.6010108@lelarge.info
Whole thread Raw
In response to Re: Connection color is not correctly changed in query windows connection drop-down.  (Valentine Gogichashvili <valgog@gmail.com>)
List pgadmin-support
Hi,

Le 24/09/2010 10:55, Valentine Gogichashvili a écrit :
> Hallo Guillaume,
> 
> I can reproduce this the following way:
> 
> 1. Create 2 database connections in the tree and choose color for the first
> connection and a different color for another one (red for the first and gray
> for the second one)
> 2. Go to the first database (red one) and open a Query Window (the color of
> the connection is correctly shown in the connection drop-down in the Query
> Window Toolbar)
> 3. From the same window click on the the connection drop-down and choose
> <new connection>
> 4. Choose the second database connection (that is supposed to have color
> gray)
> 5. Now I am connected to the 'gray' database, but the color, shown in the
> drop-down is still red
> 
> When you connect to another database (lets say a blue one), then after the
> second switch, it is colored 'gray', so the color is taken from the previous
> connection and not from the current one.
> 

Thanks a lot, I was able to reproduce it. And I fixed it.

Thanks for your report.


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com


pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Trigger Display Bugs in 1.12 pgAdmin
Next
From: Guillaume Lelarge
Date:
Subject: Re: dropping connection