sc/source/core/data/validat.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 0b9b82f41a1ff4cbbed6a7148b77cbc3b00c9716
Author: Pranam Lashkari <[email protected]>
AuthorDate: Thu Oct 30 15:20:21 2025 +0530
Commit: Pranam Lashkari <[email protected]>
CommitDate: Mon Nov 3 15:36:58 2025 +0100
tdf#167126: resume ScInputHandler even if error not displayed
problem:
regression from 72bbb0dd4a368dab2b1bd99917cd07d23a92a3f0
when data validity dialog was not displayed, error function returned early
this caused issue with cell invalid data cleaning and it was not possible
to enter new data in any new cell
Change-Id: I612ea8b9c651afba1095fc14726e5398484207f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193186
Reviewed-by: Pranam Lashkari <[email protected]>
Tested-by: Jenkins
diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index 9c044ed697f6..8b00dc3c98ea 100644
--- a/sc/source/core/data/validat.cxx
+++ b/sc/source/core/data/validat.cxx
@@ -378,6 +378,7 @@ void ScValidationData::DoError(weld::Window* pParent, const
OUString& rInput, co
{
if ( eErrorStyle == SC_VALERR_MACRO ) {
DoMacro(rPos, rInput, nullptr, pParent);
+ callback(true);
return;
}