sc/source/core/data/validat.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 9d308f0acc9780906167b6cec436cf22c99fc2b9
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Thu Oct 30 15:20:21 2025 +0530
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Tue Nov 4 13:36:01 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
    (cherry picked from commit 0b9b82f41a1ff4cbbed6a7148b77cbc3b00c9716)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193355
    Reviewed-by: Xisco Fauli <[email protected]>
    (cherry picked from commit d803223e55e5a762a6916e1c03459d931817ba70)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193358
    Tested-by: Christian Lohmaier <[email protected]>

diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index 10f1c0b569fb..7850c0e52304 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;
     }
 
commit 9c89b1991e2cccf35a0a53ee5e3580f14e221388
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Wed Oct 29 14:48:58 2025 +0530
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Tue Nov 4 13:35:47 2025 +0100

    tdf#168261: 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
    
    to reproduce:
    select data validity as list and also disable error message showing
    enter the invalid data in the validity cell
    subsequently its not possible to type in any cells
    
    Change-Id: Ia2157ae57ca90dd9365daae7881640a00c3f1216
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193141
    Reviewed-by: Pranam Lashkari <[email protected]>
    Tested-by: Jenkins
    (cherry picked from commit 65ca233db9a39fd251ffac46608bb2714949e894)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193356
    Reviewed-by: Xisco Fauli <[email protected]>
    (cherry picked from commit f60a4baee3852184da95c2947c910b485225d5fb)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193359
    Tested-by: Christian Lohmaier <[email protected]>

diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index 9c044ed697f6..10f1c0b569fb 100644
--- a/sc/source/core/data/validat.cxx
+++ b/sc/source/core/data/validat.cxx
@@ -381,8 +381,10 @@ void ScValidationData::DoError(weld::Window* pParent, 
const OUString& rInput, co
         return;
     }
 
-    if (!bShowError)
+    if (!bShowError) {
+        callback(true);
         return;
+    }
 
     //  Output error message
 

Reply via email to