[recorder] Don't pass recorderSettings as a paramter to the signal handler
We want to use the settings object created in start(), not the argument passed to the signal handler.
This commit is contained in:
parent
bd4aa54e48
commit
4ccff179a5
@ -136,7 +136,7 @@ function start() {
|
||||
|
||||
let recorderSettings = new Gio.Settings({ schema: 'org.gnome.shell.recorder' });
|
||||
|
||||
global.screen.connect('toggle-recording', function(recorderSettings) {
|
||||
global.screen.connect('toggle-recording', function() {
|
||||
if (recorder == null) {
|
||||
recorder = new Shell.Recorder({ stage: global.stage });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user