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

New commits:
commit b0befa690b1a9f80c40ad0601a6871593f05ea11
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Wed Oct 29 14:48:58 2025 +0530
Commit:     Andras Timar <[email protected]>
CommitDate: Thu Oct 30 09:53:58 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/+/193180
    Reviewed-by: Andras Timar <[email protected]>

diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index aa18f6fa5219..5358f6ec3dfa 100644
--- a/sc/source/core/data/validat.cxx
+++ b/sc/source/core/data/validat.cxx
@@ -383,8 +383,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