Fix schedule and step dialogs [Ashesh Vashi, Guillaume Lelarge].
authorguillaume <guillaume@a7884b65-44f6-0310-8a51-81a127f17b15>
Sun, 19 Jul 2009 21:39:09 +0000 (21:39 +0000)
committerguillaume <guillaume@a7884b65-44f6-0310-8a51-81a127f17b15>
Sun, 19 Jul 2009 21:39:09 +0000 (21:39 +0000)
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7973 a7884b65-44f6-0310-8a51-81a127f17b15

CHANGELOG
pgadmin/agent/dlgSchedule.cpp
pgadmin/agent/dlgStep.cpp

index 22183eb4cf280ed0578c249e656e3c2c418efd66..ec2e38bec9edd05bfd47edd5f30ee20f7d548772 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -36,6 +36,8 @@ Changes
 \r
 Date       Dev Ver     Change details\r
 ---------- --- ------  --------------\r
+2009-07-19 GL  1.10.1  Fix schedule and step dialogs [Ashesh Vashi, Guillaume\r
+                       Lelarge].\r
 2009-07-07 GL  1.10.1  Fix macros writing, per report from Mauro Bertoli.\r
 2009-07-07 DP  1.12.0  Cache datatypes in dlgTable, so they don't have to be\r
                        reloaded by dlgColumn, which may be used multiple times\r
index b6b889404ea4b79074c3e09a283ff905301e0442..0efcce9c2bc919ddd2808c8ae3ed95b600961e84 100644 (file)
@@ -114,8 +114,6 @@ void dlgSchedule::OnChangeSize(wxSizeEvent &ev)
 
 int dlgSchedule::Go(bool modal)
 {
-       int returncode;
-
     if (schedule)
     {
         // edit mode
@@ -198,11 +196,7 @@ int dlgSchedule::Go(bool modal)
         // create mode
     }
 
-    returncode = dlgProperty::Go(modal);
-       
-       SetSqlReadOnly(true);
-
-       return returncode;
+       return dlgProperty::Go(modal);
 }
 
 
index b32af1b01d60e395df5646556d956ec5bd2d180b..0bb8cef07dee826924deed6cadf908d41404d330 100644 (file)
@@ -84,8 +84,6 @@ pgObject *dlgStep::GetObject()
 
 int dlgStep::Go(bool modal)
 {
-       int returncode;
-       
     hasConnStrSupport = connection->TableHasColumn(wxT("pgagent"), wxT("pga_jobstep"), wxT("jstconnstr"));
     cbDatabase->Append(wxT(" "));
     cbDatabase->SetSelection(0);
@@ -141,11 +139,7 @@ int dlgStep::Go(bool modal)
             rbLocalConn->Enable(false);
     }
 
-    returncode = dlgProperty::Go(modal);
-       
-       SetSqlReadOnly(true);
-
-       return returncode;
+       return dlgProperty::Go(modal);
 }