1 Reply Latest reply on Jun 28, 2010 8:59 AM by Drarvik

    viewForCollectionSettings does not close when fireing an exception

    L. Hagen



      I like to make some checks before a custom edit dialog is shown via the "viewForCollectionSettings" callback. For example:


      if not prefs.accountStatus then
        LrDialogs.message('You are not logged in...','You need to login before you can get access','info')

      I had expected that the dialog is closed when an exception is fired but it wasn't. Is this a bug or a feature? If it is a feature: how can I close the edit dialog, manually?



      Thanks and regards,