minor safety fix for the Pane
This commit is contained in:
parent
82d3afb851
commit
81211a91b1
@ -363,7 +363,7 @@ Pane::handle_release_event (GdkEventButton* ev, Divider* d)
|
|||||||
{
|
{
|
||||||
d->dragging = false;
|
d->dragging = false;
|
||||||
|
|
||||||
if (did_move) {
|
if (did_move && !children.empty()) {
|
||||||
children.front().w->queue_resize ();
|
children.front().w->queue_resize ();
|
||||||
did_move = false;
|
did_move = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user