StretchHeaderView: Formatting
This commit is contained in:
parent
ac959387fe
commit
74b8cd6156
|
@ -332,7 +332,10 @@ void StretchHeaderView::SectionResized(const int logical_index, const int old_si
|
|||
return;
|
||||
}
|
||||
|
||||
if (in_mouse_move_event_) {
|
||||
if (!in_mouse_move_event_) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool resized = false;
|
||||
if (new_size >= minimumSectionSize()) {
|
||||
// Find the visible section to the right of the section that's being resized
|
||||
|
@ -360,12 +363,12 @@ void StretchHeaderView::SectionResized(const int logical_index, const int old_si
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!resized) {
|
||||
in_mouse_move_event_ = true;
|
||||
forced_resize_logical_index_ = logical_index;
|
||||
resizeSection(logical_index, old_size);
|
||||
in_mouse_move_event_ = false;
|
||||
}
|
||||
resizeSection(logical_index, old_size);
|
||||
in_mouse_move_event_ = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue