diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-06-20 13:12:10 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-06-20 13:12:10 +0000 |
| commit | 0678bdbc7a7f44beccc03b2206306da008cd0004 (patch) | |
| tree | 87cb93660537cb13abfeab5be968535804829ebc /src | |
| parent | Merge branch 'refactoring' of gitlab.com:shlomif/inkscape (diff) | |
| parent | Fix blank toolbar on startup with custom dimensions (diff) | |
| download | inkscape-0678bdbc7a7f44beccc03b2206306da008cd0004.tar.gz inkscape-0678bdbc7a7f44beccc03b2206306da008cd0004.zip | |
Merge branch 'hope' of gitlab.com:nathanal/inkscape
Diffstat (limited to 'src')
| -rw-r--r-- | src/inkscape-window.cpp | 2 |
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); |
