diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2016-07-22 11:50:57 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-07-22 15:35:28 +0000 |
commit | d7da58ae362b661c03fc754e4e8f4a89798b0127 (patch) | |
tree | 9c4640870e204fcca73d1fa2161f16d9aca6cbc7 /include | |
parent | b920fa5e90343a7e9ca6e9f1934f22b527ed9791 (diff) |
GSoC notebookbar: better default page handling
+ selected default tab page in the Impress
+ the default tab page is set when context isn't supported
+ switching between unsupported contexts is not causing
switch to default tab to avoid closing of tab which was
recently used by user
Change-Id: Ieeda8a79e6c67708551351f9bb49d8b006c0e74f
Reviewed-on: https://gerrit.libreoffice.org/27432
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/tabctrl.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index 14974e7609b3..5b26c830ecac 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -213,6 +213,7 @@ protected: virtual void ImplPaint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override; private: + bool bLastContextWasSupported; vcl::EnumContext::Context eLastContext; Link<NotebookBar*,void> m_aIconClickHdl; }; |