\r
Date Dev Ver Change details\r
---------- --- ------ --------------\r
+2009-07-24 GL 1.10.1 Better fix for schedule and step dialogs.\r
2009-07-24 GL 1.12.0 More statistics on various objects, databases, indexes,\r
and functions (8.4+ only for the last one).\r
2009-07-24 GL 1.10.1 Fix the menu entry in frmQuery, per a report from Luiz\r
int dlgSchedule::Go(bool modal)
{
+ int returncode;
+
if (schedule)
{
// edit mode
// create mode
}
- return dlgProperty::Go(modal);
+ returncode = dlgProperty::Go(modal);
+
+ SetSqlReadOnly(true);
+
+ return returncode;
}
int dlgStep::Go(bool modal)
{
+ int returncode;
+
hasConnStrSupport = connection->TableHasColumn(wxT("pgagent"), wxT("pga_jobstep"), wxT("jstconnstr"));
cbDatabase->Append(wxT(" "));
cbDatabase->SetSelection(0);
rbLocalConn->Enable(false);
}
- return dlgProperty::Go(modal);
+ returncode = dlgProperty::Go(modal);
+
+ SetSqlReadOnly(true);
+
+ return returncode;
}
factory=f;
item = (void *)NULL;
owneritem = (void *)NULL;
+ chkReadOnly = (wxCheckBox *)NULL;
wxWindowBase::SetFont(settings->GetSystemFont());
LoadResource(frame, resName);
void dlgProperty::SetSqlReadOnly(bool readonly)
{
- chkReadOnly->Enable(!readonly);
+ if (chkReadOnly)
+ chkReadOnly->Enable(!readonly);
}