diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/sidebar/SidebarDockingWindow.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx index 302605d6a65a..6818c201631d 100644 --- a/sfx2/source/sidebar/SidebarDockingWindow.cxx +++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx @@ -107,6 +107,9 @@ public: SAL_WARN("sfx.sidebar", rError.message()); } } + + bool GetLastLOKWindow() { return m_LastLOKWindowId; } + }; SidebarDockingWindow::SidebarDockingWindow(SfxBindings* pSfxBindings, SidebarChildWindow& rChildWindow, @@ -205,7 +208,10 @@ void SidebarDockingWindow::NotifyResize() SetLOKNotifier(pCurrentView); } - mpIdleNotify->Start(); + if (mpIdleNotify->GetLastLOKWindow() == 0) + { + mpIdleNotify->Start(); + } } } |