diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-04-01 11:56:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-04-01 15:09:09 +0200 |
commit | 5ed29e09f73168a943710837d9877c04d3ee034a (patch) | |
tree | fd831b6e15fe1f82ceeba05da42e8ee0c5258d87 /sfx2 | |
parent | 4f70853aa1ead95777a1af6c434fc2a18a89d1d8 (diff) |
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@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/frame2.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |