[pitivi] projectsettings: Fix displaying the matching presets in the combos
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] projectsettings: Fix displaying the matching presets in the combos
- Date: Wed, 25 Nov 2015 14:45:21 +0000 (UTC)
commit de872b9f8e83a24d70eab6ae0b6ed39665e4db41
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Wed Nov 25 15:38:55 2015 +0100
projectsettings: Fix displaying the matching presets in the combos
pitivi/project.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 9026a35..20e6641 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -1656,7 +1656,7 @@ class ProjectSettingsDialog(object):
matching_video_preset = self.video_presets.matchingPreset(self.project)
if matching_video_preset:
- self.video_presets.restorePreset(matching_video_preset)
+ self.video_presets_combo.set_active_id(matching_video_preset)
# Audio
set_combo_value(self.channels_combo, self.project.audiochannels)
@@ -1664,7 +1664,7 @@ class ProjectSettingsDialog(object):
matching_audio_preset = self.audio_presets.matchingPreset(self.project)
if matching_audio_preset:
- self.audio_presets.restorePreset(matching_audio_preset)
+ self.audio_presets_combo.set_active_id(matching_audio_preset)
# Metadata
self.title_entry.set_text(self.project.name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]