[longomatch] Only fill devices list when choosing the capture project
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Only fill devices list when choosing the capture project
- Date: Fri, 6 Feb 2015 15:08:01 +0000 (UTC)
commit 88f4cae01e3377cdfe48472b0e131bdd601fd199
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Feb 6 12:58:07 2015 +0100
Only fill devices list when choosing the capture project
LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
index 5a97fa4..8a2ca29 100644
--- a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
@@ -73,7 +73,6 @@ namespace LongoMatch.Gui.Panel
ConnectSignals ();
FillCategories ();
FillFormats ();
- FillDevices (mtoolkit.VideoDevices);
LoadTeams (project);
if (project == null) {
notebook1.Page = firstPage = 0;
@@ -449,6 +448,7 @@ namespace LongoMatch.Gui.Panel
if (sender == filebutton) {
projectType = ProjectType.FileProject;
} else if (sender == capturebutton) {
+ FillDevices (mtoolkit.VideoDevices);
if (videoDevices == null || videoDevices.Count == 0) {
Config.GUIToolkit.ErrorMessage (Catalog.GetString ("No capture
devices found in the system"),
this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]