Creating a button for docuemnt sync with remote in ui.
This commit is contained in:
parent
1871f82dd2
commit
b74ac124f3
@ -385,6 +385,16 @@ LePage >> uiRefreshWebPreviewButtonFor: anAction [
|
||||
"WebBrowser openOn: self page localHostAddress" ]
|
||||
]
|
||||
|
||||
{ #category : #'*MiniDocs' }
|
||||
LePage >> uiSync: anAction [
|
||||
<lePageAction>
|
||||
^ anAction button
|
||||
tooltip: 'Sync with remote document';
|
||||
icon: BrGlamorousVectorIcons refresh;
|
||||
action: [ "Exeption LeDuplicatePageIdError"self database
|
||||
importDocumentFrom: self remote ]
|
||||
]
|
||||
|
||||
{ #category : #'*MiniDocs' }
|
||||
LePage >> youngerChild [
|
||||
"I provide the first create child node.
|
||||
|
Loading…
Reference in New Issue
Block a user