+2003-06-12 Angus Leeming <leeming@lyx.org>
+
+ * QExternalDialog.C (editClicked): do not call form_->changed().
+
2003-06-11 Angus Leeming <leeming@lyx.org>
* QExternal.C: changes due to InsetExternal::Params no longer
void QExternalDialog::editClicked()
{
- form_->changed();
form_->controller().editExternal();
}
+2003-06-12 Angus Leeming <leeming@lyx.org>
+
+ * FormExternal.C (input): do not activate Ok, Apply when clicking on
+ "Edit File".
+
2003-06-11 Angus Leeming <leeming@lyx.org>
* FormExternal.C: changes due to InsetExternal::Params no longer
ButtonPolicy::SMInput FormExternal::input(FL_OBJECT * ob, long)
{
+ ButtonPolicy::SMInput result = ButtonPolicy::SMI_VALID;
if (ob == dialog_->choice_template) {
// set to the chosen template
} else if (ob == dialog_->button_edit) {
controller().editExternal();
+ result = ButtonPolicy::SMI_NOOP;
}
- return ButtonPolicy::SMI_VALID;
+ return result;
}