diff options
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.cxx')
-rw-r--r-- | extensions/source/propctrlr/usercontrol.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx index f26287029f86..86fdb30445d0 100644 --- a/extensions/source/propctrlr/usercontrol.cxx +++ b/extensions/source/propctrlr/usercontrol.cxx @@ -238,9 +238,7 @@ namespace pcr bool bSuccess = rValue >>= sURL; if (bSuccess && GraphicObject::isGraphicObjectUniqueIdURL(sURL)) sURL = pControlWindow->GetPlaceHolder(); - // tdf#140239 leave current cursor valid if the contents won't change - if (sURL != pControlWindow->GetURL()) - pControlWindow->set_entry_text(sURL); + pControlWindow->set_entry_text(sURL); } Any SAL_CALL OFileUrlControl::getValue() @@ -256,6 +254,11 @@ namespace pcr return ::cppu::UnoType<OUString>::get(); } + IMPL_LINK_NOARG(OFileUrlControl, URLModifiedHdl, weld::ComboBox&, void) + { + editChanged(); + } + } // namespace pcr |