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

New commits:
commit b4331d45f26bb956eccde6eaf0492c55d4d6bc26
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Wed Oct 29 14:48:58 2025 +0530
Commit:     Andras Timar <[email protected]>
CommitDate: Thu Oct 30 09:54:54 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/+/193132
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    (cherry picked from commit 7be1b7be9c90399068cd2feaad8f057009c089b5)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193181
    Tested-by: Andras Timar <[email protected]>
    Reviewed-by: Andras Timar <[email protected]>

diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index 744cee56adeb..898d4bc986fb 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