|
@@ -1261,7 +1261,7 @@ struct KMNMWCFlags {
|
|
|
let background = listView.document.background()
|
|
|
background?.clear()
|
|
|
|
|
|
-// listView.document?.refreshPageData()
|
|
|
+ listView.document?.refreshPageData()
|
|
|
listView.layoutDocumentView()
|
|
|
|
|
|
_ = KMNCustomAlertView.alertView(message: KMLocalizedString("Background removed"),
|
|
@@ -1334,7 +1334,7 @@ struct KMNMWCFlags {
|
|
|
let headerFooter = listView.document.headerFooter()
|
|
|
headerFooter?.clear()
|
|
|
|
|
|
-// listView.document?.refreshPageData()
|
|
|
+ listView.document?.refreshPageData()
|
|
|
listView.layoutDocumentView()
|
|
|
|
|
|
_ = KMNCustomAlertView.alertView(message: KMLocalizedString("Header & Footer removed"),
|
|
@@ -1409,7 +1409,7 @@ struct KMNMWCFlags {
|
|
|
let bates = listView.document.bates()
|
|
|
bates?.clear()
|
|
|
|
|
|
-// listView.document?.refreshPageData()
|
|
|
+ listView.document?.refreshPageData()
|
|
|
listView.layoutDocumentView()
|
|
|
|
|
|
_ = KMNCustomAlertView.alertView(message: KMLocalizedString("Bates removed"),
|
|
@@ -2313,7 +2313,7 @@ extension KMMainViewController: KMEditToolbarViewDelegate {
|
|
|
background.pageString = pageString
|
|
|
background.update()
|
|
|
|
|
|
-// listView.document?.refreshPageData()
|
|
|
+ listView.document?.refreshPageData()
|
|
|
listView.layoutDocumentView()
|
|
|
}
|
|
|
}
|
|
@@ -2326,7 +2326,7 @@ extension KMMainViewController: KMEditToolbarViewDelegate {
|
|
|
headerFooter.pageString = pageString
|
|
|
headerFooter.update()
|
|
|
|
|
|
-// listView.document?.refreshPageData()
|
|
|
+ listView.document?.refreshPageData()
|
|
|
listView.layoutDocumentView()
|
|
|
}
|
|
|
}
|