Kaydet (Commit) fbd537ae authored tarafından Pranav Kant's avatar Pranav Kant

lokdialog: Handle closing of modeless dialogs too

Change-Id: I87ed60e940fad199b14a2e2179cc1f10008bfe93
üst e16852cd
...@@ -3308,7 +3308,7 @@ static void doc_postWindow(LibreOfficeKitDocument* /*pThis*/, unsigned nLOKWindo ...@@ -3308,7 +3308,7 @@ static void doc_postWindow(LibreOfficeKitDocument* /*pThis*/, unsigned nLOKWindo
if (Dialog* pDialog = dynamic_cast<Dialog*>(pWindow.get())) if (Dialog* pDialog = dynamic_cast<Dialog*>(pWindow.get()))
{ {
if (nAction == LOK_WINDOW_CLOSE) if (nAction == LOK_WINDOW_CLOSE)
pDialog->EndDialog( RET_CANCEL ); pDialog->Close();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment