This is a discussion on SVN Commit by andreas: r4563 - trunk/pgadmin3/src/dlg within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Author: andreas Date: 2005-10-18 17:44:06 +0100 (Tue, 18 Oct 2005) New Revision: 4563 Modified: trunk/pgadmin3/src/dlg/dlgProperty.cpp Log: fix refreshing servers ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Author: andreas Date: 2005-10-18 17:44:06 +0100 (Tue, 18 Oct 2005) New Revision: 4563 Modified: trunk/pgadmin3/src/dlg/dlgProperty.cpp Log: fix refreshing servers node Modified: trunk/pgadmin3/src/dlg/dlgProperty.cpp ================================================== ================= --- trunk/pgadmin3/src/dlg/dlgProperty.cpp 2005-10-18 16:21:06 UTC (rev 4562) +++ trunk/pgadmin3/src/dlg/dlgProperty.cpp 2005-10-18 16:44:06 UTC (rev 4563) @@ -1418,5 +1418,7 @@ bool refreshFactory::CheckEnable(pgObject *obj) { - return obj != 0; + // This isn't really clean... But we don't have a pgObject::CanRefresh() so far, + // so it's Good Enough (tm) for now. + return obj != 0 && !obj->IsCreatedBy(serverFactory.GetCollectionFactory()) ; } ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
| Thread Tools | |
| Display Modes | |
|
|