Commit 2d5ba4a9 authored by Aurimas Černius's avatar Aurimas Černius

Fix Windows size shrinking when switching from/to note

Use size from same level object, not mix of GDK/GTK.
Fixes Bug 764464.
parent dfd37c0b
......@@ -517,7 +517,7 @@ namespace gnote {
if(width && height) {
set_default_size(width, height);
if(!maximized && get_visible()) {
get_window()->resize(width, height);
resize(width, height);
}
}
widget.size_internals();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment