diff options
author | 2019-10-06 15:36:01 +0200 | |
---|---|---|
committer | 2019-10-06 15:36:01 +0200 | |
commit | ef6fbfbd0821a98ff167aaa5f31f522877cf94b1 (patch) | |
tree | b7b5265b899f8d09a65bc83e949fbc397df76235 /src/containers | |
parent | Add option to choose hibernation strategy (diff) | |
download | ferdium-app-ef6fbfbd0821a98ff167aaa5f31f522877cf94b1.tar.gz ferdium-app-ef6fbfbd0821a98ff167aaa5f31f522877cf94b1.tar.zst ferdium-app-ef6fbfbd0821a98ff167aaa5f31f522877cf94b1.zip |
Add Electron Process Manager
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index 8b9d21b87..5fa90acd5 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -1,3 +1,4 @@ | |||
1 | import { ipcRenderer } from 'electron'; | ||
1 | import React, { Component } from 'react'; | 2 | import React, { Component } from 'react'; |
2 | import PropTypes from 'prop-types'; | 3 | import PropTypes from 'prop-types'; |
3 | import { inject, observer } from 'mobx-react'; | 4 | import { inject, observer } from 'mobx-react'; |
@@ -198,6 +199,10 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
198 | } | 199 | } |
199 | } | 200 | } |
200 | 201 | ||
202 | openProcessManager() { | ||
203 | ipcRenderer.send('openProcessManager'); | ||
204 | } | ||
205 | |||
201 | prepareForm() { | 206 | prepareForm() { |
202 | const { | 207 | const { |
203 | app, settings, user, todos, workspaces, | 208 | app, settings, user, todos, workspaces, |
@@ -410,6 +415,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
410 | lockingFeatureEnabled={lockingFeatureEnabled} | 415 | lockingFeatureEnabled={lockingFeatureEnabled} |
411 | noUpdates={this.props.stores.settings.app.noUpdates} | 416 | noUpdates={this.props.stores.settings.app.noUpdates} |
412 | hibernationEnabled={this.props.stores.settings.app.hibernate} | 417 | hibernationEnabled={this.props.stores.settings.app.hibernate} |
418 | openProcessManager={() => this.openProcessManager()} | ||
413 | /> | 419 | /> |
414 | </ErrorBoundary> | 420 | </ErrorBoundary> |
415 | ); | 421 | ); |