Add View -> Debug Log to menu bar

Just send an event from the main process to the renderer,
The latter routes it the appropriate view method.

For now it's a no-op unless the main window exists and it is showing the inbox,
which will be addressed in a future commit.

// FREEBIE
This commit is contained in:
lilia 2017-07-24 16:58:20 +02:00 committed by Scott Nonnenberg
parent 8243f25e5a
commit 04e40043d2
No known key found for this signature in database
GPG key ID: A4931C09644C654B
4 changed files with 21 additions and 0 deletions

View file

@ -78,6 +78,9 @@
appView.openInstaller();
}
Whisper.events.on('showDebugLog', function() {
appView.inboxView.showDebugLog();
});
Whisper.events.on('unauthorized', function() {
appView.inboxView.networkStatusView.update();
});