diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-07-12 23:09:45 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-07-21 18:07:46 +0200 |
commit | 396cbd8cd017f883946f1a0be7285c89f84f40af (patch) | |
tree | c79bcb5714393e7a7c9640e1a71dbbc855eac399 /sc/source | |
parent | 3f6ad9d3cdd6fe97989d85b7ec31fe9b8ae340cd (diff) |
Related: tdf#155708 Clean-up - Fix validity dialog closes
Do not close Validation window if click on another Calc sheet.
Follow-up of commits:
1 - a5c61b143d53bb10430b8a486874856c16a2d86c
2 - efaa065eb7053954242c83760f897e7dba2e9fe8
Change-Id: I5352ee869f3e8a93b49abec863089f57cdf0aeba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154369
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/inc/validate.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index c58ae53bbf7f..4a3a2e80e97c 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -180,6 +180,8 @@ public: virtual void EndDialog(int nResponse) override; + virtual bool CloseOnHide() const override { return false; } + virtual void SetReference( const ScRange& rRef, ScDocument& rDoc ) override { if ( m_pHandler && m_pSetReferenceHdl ) |