>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> It came out that the problem is caused by refreshReadOnly(), Juergen> called (indirectly) by Dialog::checkStatus(). refreshReadOnly Juergen> disables all widgets (that are addReadOnly()'ed) in read only Juergen> mode and enables all these widgets in non-read-only mode. The Juergen> latter, which is necessary to switch modes, overrides the Juergen> intiial disabling of certain widgets by the dialogs. Juergen> The attached patch just calls the dialog's update() after all Juergen> widgets have been enabled by refreshReadOnly, so that the Juergen> widgets that should be disabled actually get disabled. Juergen> Comments? Shouldn't the update be added inside the "if (controller().canApply())" block? The looks OK. Angus? JMarc