|
@@ -2413,12 +2413,20 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 重新获取选中页码
|
|
|
+ /// /插入、替换等更新页码,页码输入框的值未更新
|
|
|
+ /// </summary>
|
|
|
private void RefreshTbPageRange()
|
|
|
{
|
|
|
List<int> indexList = GetSelectedItemPageNumbers();
|
|
|
|
|
|
if (indexList.Count > 0)
|
|
|
{
|
|
|
+ //选中项集合 也需要 同步更新
|
|
|
+ selectedPageList.Clear();
|
|
|
+ selectedPageList.AddRange(indexList);
|
|
|
+
|
|
|
//只选中单个页面是,listselectedIndex 更准确
|
|
|
if (indexList.Count == 1)
|
|
|
{
|