summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-06-20 13:12:10 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-06-20 13:12:10 +0000
commit0678bdbc7a7f44beccc03b2206306da008cd0004 (patch)
tree87cb93660537cb13abfeab5be968535804829ebc /src
parentMerge branch 'refactoring' of gitlab.com:shlomif/inkscape (diff)
parentFix blank toolbar on startup with custom dimensions (diff)
downloadinkscape-0678bdbc7a7f44beccc03b2206306da008cd0004.tar.gz
inkscape-0678bdbc7a7f44beccc03b2206306da008cd0004.zip
Merge branch 'hope' of gitlab.com:nathanal/inkscape
Diffstat (limited to 'src')
-rw-r--r--src/inkscape-window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inkscape-window.cpp b/src/inkscape-window.cpp
index eb11199db..3629b45f3 100644
--- a/src/inkscape-window.cpp
+++ b/src/inkscape-window.cpp
@@ -95,6 +95,8 @@ InkscapeWindow::InkscapeWindow(SPDocument* document)
// Must show before setting zoom and view! (crashes otherwise)
// Showing after resizing/moving allows the window manager to correct an invalid size/position of the window
show();
+ // Extra call seems to ensure toolbar widgets are visible after programmatic resize
+ check_resize();
sp_namedview_zoom_and_view_from_document(_desktop);
sp_namedview_update_layers_from_document(_desktop);