diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-02-17 08:05:08 +0000 |
|---|---|---|
| committer | John Smith <removethis.john.q.public@bigmail.com> | 2012-02-17 08:05:08 +0000 |
| commit | afb80368d6bf4dc2a55b011c9a14fa4288d2fe84 (patch) | |
| tree | 6ec54c830a6537271186388726542ca873ff7830 /src/ui/widget/dock.cpp | |
| parent | Documentation of the Text and Font dialog (diff) | |
| download | inkscape-afb80368d6bf4dc2a55b011c9a14fa4288d2fe84.tar.gz inkscape-afb80368d6bf4dc2a55b011c9a14fa4288d2fe84.zip | |
Fix for 171579 : Make inkscape remember dialogs window status
(bzr r10992)
Diffstat (limited to 'src/ui/widget/dock.cpp')
| -rw-r--r-- | src/ui/widget/dock.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/widget/dock.cpp b/src/ui/widget/dock.cpp index 62682b9dc..a6e983304 100644 --- a/src/ui/widget/dock.cpp +++ b/src/ui/widget/dock.cpp @@ -229,12 +229,14 @@ void Dock::_onLayoutChanged() { if (isEmpty()) { if (hasIconifiedItems()) { + _paned->get_child1()->set_size_request(-1, -1); _scrolled_window->set_size_request(_default_dock_bar_width); } else { + _paned->get_child1()->set_size_request(-1, -1); _scrolled_window->set_size_request(_default_empty_width); } - getParentPaned()->set_position(INT_MAX); + } else { // unset any forced size requests _paned->get_child1()->set_size_request(-1, -1); |
