[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 1 13:09:52 UTC 2020
sfx2/source/view/frame2.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 5ed29e09f73168a943710837d9877c04d3ee034a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Apr 1 11:56:44 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Apr 1 15:09:09 2020 +0200
tdf#131613 ignore printer change as a trigger for relayout panels
Change-Id: I1956d8ffe7c6967da5751523d774dfe339448d29
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91482
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sfx2/source/view/frame2.cxx b/sfx2/source/view/frame2.cxx
index 8dfb7f64985d..1e5b6b2c3d39 100644
--- a/sfx2/source/view/frame2.cxx
+++ b/sfx2/source/view/frame2.cxx
@@ -85,6 +85,9 @@ void SfxFrameWindow_Impl::dispose()
void SfxFrameWindow_Impl::DataChanged( const DataChangedEvent& rDCEvt )
{
Window::DataChanged( rDCEvt );
+ // tdf#131613 the printers changing has no effect on window layout
+ if (rDCEvt.GetType() == DataChangedEventType::PRINTER)
+ return;
SfxWorkWindow *pWorkWin = pFrame->GetWorkWindow_Impl();
if ( pWorkWin )
pWorkWin->DataChanged_Impl();
More information about the Libreoffice-commits
mailing list