Commit 17630d2c authored by GoshaZotov's avatar GoshaZotov Committed by Alexander.Trofimov

Bug #32301 - Не происходит удаление и вставка столбцов форматированной...

Bug #32301 - Не происходит удаление и вставка столбцов форматированной таблицы, если захватить столбец за ней
parent a6eafc4a
...@@ -1157,7 +1157,7 @@ ...@@ -1157,7 +1157,7 @@
filter.moveRef(diff); filter.moveRef(diff);
} }
else if(activeRange.c1 > ref.c1 && activeRange.c2 >= ref.c2 && activeRange.c1 < ref.c2 && diff < 0)//parts of after filter else if(activeRange.c1 > ref.c1 && activeRange.c2 >= ref.c2 && activeRange.c1 <= ref.c2 && diff < 0)//parts of after filter
{ {
oldFilter = filter.clone(null); oldFilter = filter.clone(null);
diffColId = activeRange.c1 - ref.c2 - 1; diffColId = activeRange.c1 - ref.c2 - 1;
...@@ -1169,7 +1169,7 @@ ...@@ -1169,7 +1169,7 @@
filter.changeRef(diffColId); filter.changeRef(diffColId);
} }
else if((activeRange.c1 >= ref.c1 && activeRange.c1 <= ref.c2 && activeRange.c2 <= ref.c2) || (activeRange.c1 > ref.c1 && activeRange.c2 >= ref.c2 && activeRange.c1 < ref.c2 && diff > 0))//inside else if((activeRange.c1 >= ref.c1 && activeRange.c1 <= ref.c2 && activeRange.c2 <= ref.c2) || (activeRange.c1 > ref.c1 && activeRange.c2 >= ref.c2 && activeRange.c1 < ref.c2 && diff > 0) || (activeRange.c1 >= ref.c1 && activeRange.c1 <= ref.c2 && activeRange.c2 > ref.c2 && diff > 0))//inside
{ {
oldFilter = filter.clone(null); oldFilter = filter.clone(null);
......
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