mirror of
https://github.com/lutris/lutris
synced 2024-11-02 13:31:16 +00:00
Don't notify view of an installed game for extends scripts
This commit is contained in:
parent
b884d28507
commit
f87291af73
1 changed files with 5 additions and 0 deletions
|
@ -445,6 +445,11 @@ class InstallerDialog(Gtk.Window):
|
|||
self.connect('focus-in-event', self.on_window_focus)
|
||||
|
||||
def notify_install_success(self, game_id=None):
|
||||
|
||||
# Nothing to notify in case of extends scripts
|
||||
if self.interpreter.extends:
|
||||
return
|
||||
|
||||
game_id = game_id or self.interpreter.game_id
|
||||
if self.parent:
|
||||
self.parent.view.emit('game-installed', game_id)
|
||||
|
|
Loading…
Reference in a new issue