Skip to main content
Inspiring
February 19, 2024
Question

Close parent dialog box

  • February 19, 2024
  • 0 replies
  • 65 views

In my Main dialog box (code below) there are two dynamic dropdown boxes. Values comes from static files.

Now when a value is not in the dropdownbox, there is a button next to it, that open a second dialog box. Where the user can insert the missing parameters.

I would like to close the first one from the second one, to have the data updated for the dropdown list.

Or is there a nother way to update the dropdown list ?

 

The main dialog box

--------- Show the dialogbox --------
	LrFunctionContext.callWithContext ("CreateDir", function (context)
		local f = LrView.osFactory ()
		local properties = LrBinding.makePropertyTable (context)

 

Code to close the main dialogbox 

 

LrDialogs.stopModalWithResult( CreateDir, "cancel" )

 

This topic has been closed for replies.