Fix column switching when clicking on column drag bar
This commit is contained in:
parent
3bcec4f4b5
commit
8e34bb8e02
1 changed files with 1 additions and 0 deletions
|
@ -2341,6 +2341,7 @@ void ColumnArea::mousePressEvent(QMouseEvent *event) {
|
|||
// becomes dragbar
|
||||
&& (o->rect(PredefinedRect::LAYER_NUMBER).contains(mouseInCell) ||
|
||||
o->rect(PredefinedRect::LAYER_NAME).contains(mouseInCell)))) {
|
||||
m_viewer->setCurrentColumn(m_col);
|
||||
setDragTool(XsheetGUI::DragTool::makeColumnMoveTool(m_viewer));
|
||||
} else if (o->rect(PredefinedRect::LOCK_AREA).contains(mouseInCell)) {
|
||||
// lock button
|
||||
|
|
Loading…
Reference in a new issue