diff --git a/src/fsguilib/src/fsguidialog.h b/src/fsguilib/src/fsguidialog.h index 65e6d357..2e3e8c3a 100644 --- a/src/fsguilib/src/fsguidialog.h +++ b/src/fsguilib/src/fsguidialog.h @@ -1205,6 +1205,13 @@ class FsGuiDialog : public FsGuiControlBase stdCloseModalCallBack=std::bind(func,obj,this,std::placeholders::_1); } + /*! + */ + void CallOnCloseModal(std::function lambda) + { + stdCloseModalCallBack=lambda; + } + void UnbindCloseModalCallBack(void);