mirror of https://github.com/laurent22/joplin.git
* Fix focus on GotoAnything and Layout Switching * Update app.js Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>pull/2894/head
parent
06eb389b21
commit
3b653a95a0
|
@ -303,6 +303,12 @@ class Dialog extends React.PureComponent {
|
||||||
folderId: item.parent_id,
|
folderId: item.parent_id,
|
||||||
noteId: item.id,
|
noteId: item.id,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.props.dispatch({
|
||||||
|
type: 'WINDOW_COMMAND',
|
||||||
|
name: 'focusElement',
|
||||||
|
target: 'noteBody',
|
||||||
|
});
|
||||||
} else if (this.state.listType === BaseModel.TYPE_TAG) {
|
} else if (this.state.listType === BaseModel.TYPE_TAG) {
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
type: 'TAG_SELECT',
|
type: 'TAG_SELECT',
|
||||||
|
|
Loading…
Reference in New Issue