mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 15:22:11 +02:00
app: Always activate before opening files
Make sure app window was created and bring it on top when started with file(s) as args
This commit is contained in:
@@ -29,7 +29,8 @@ class ClapperApp extends Gtk.Application
|
||||
{
|
||||
super.vfunc_open(files, hint);
|
||||
|
||||
this._openFilesAsync(files).then(() => this.activate()).catch(debug);
|
||||
this.activate();
|
||||
this._openFilesAsync(files).catch(debug);
|
||||
}
|
||||
|
||||
vfunc_activate()
|
||||
|
Reference in New Issue
Block a user