Commits

Anonymous committed e279c20

oooimprovement6: #i98561# clicking on show data closes the modal dialog

  • Participants
  • Parent commits 7f47dba

Comments (0)

Files changed (1)

File cui/source/options/optimprove2.cxx

         uno::Reference< lang::XComponent > xDoc = ::comphelper::SynchronousDispatch::dispatch(
             xDesktop, sLogFile, C2S("_default"), 0, aArgs );
         if ( xDoc.is() )
+        {
+            dynamic_cast<Dialog*>(GetParent())->EndDialog( RET_CANCEL );
             return 1;
+        }
     }
 
     return 0;