Commit fb59ffb7 authored by Morten Welinder's avatar Morten Welinder

GUI: Fix split pane problem.

parent c8ee8c8c
......@@ -2,6 +2,8 @@
* src/sheet-control-gui.c (resize_pane_pos, set_resize_pane_pos):
If row/column canvas is not visible, ignore them.
(scg_gtk_paned_set_position): Don't allow negative position.
Fixes #725375.
* src/ssdiff.c (diff_sheets_attrs): Detect more sheet attribute
changes.
......
......@@ -45,6 +45,7 @@ Morten:
* Fix xls/biff8 import of comment's text attributes. [#725168]
* Improve the xls macro-roundtrip situation. [#725220]
* Improve ssdiff for sheet attributes.
* Fix split pane problem. [#725375]
--------------------------------------------------------------------------
Gnumeric 1.12.11
......
......@@ -1306,6 +1306,9 @@ resize_pane_pos (SheetControlGUI *scg, GtkPaned *p,
static void
scg_gtk_paned_set_position (SheetControlGUI *scg, GtkPaned *p, int pane_pos)
{
/* A negative position is special to GtkPaned. */
pane_pos = MAX (pane_pos, 0);
if (p == scg->vpane)
scg->vpos = pane_pos;
else
......
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