Kaydet (Commit) 6ba08959 authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Katarina Behrens

tdf#122912: Close option dialog if restart is confirmed ( part 2 )

forgot it in e961e08a

Change-Id: Id896bf407ca33faf0dbff74f3cbe98d23de0e0c7
Reviewed-on: https://gerrit.libreoffice.org/66846
Tested-by: Jenkins
Reviewed-by: 's avatarXisco Faulí <xiscofauli@libreoffice.org>
(cherry picked from commit c81340bc)
Reviewed-on: https://gerrit.libreoffice.org/66870Reviewed-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
üst c985db8b
......@@ -1393,9 +1393,10 @@ bool OfaLanguagesTabPage::FillItemSet( SfxItemSet* rSet )
Reference< XChangesBatch >(xProp, UNO_QUERY_THROW)->commitChanges();
// display info
SolarMutexGuard aGuard;
svtools::executeRestartDialog(
comphelper::getProcessComponentContext(), GetFrameWeld(),
svtools::RESTART_REASON_LANGUAGE_CHANGE);
if (svtools::executeRestartDialog(
comphelper::getProcessComponentContext(), GetFrameWeld(),
svtools::RESTART_REASON_LANGUAGE_CHANGE))
GetParentDialog()->EndDialog(RET_OK);
// tell quickstarter to stop being a veto listener
......
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