[longomatch] Empty file selector should always be at the bottom of the list.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Empty file selector should always be at the bottom of the list.
- Date: Tue, 31 Mar 2015 17:27:21 +0000 (UTC)
commit 8237be7222f09e84a66e45f498bb1f4a66b2b365
Author: Julien Moutte <julien fluendo com>
Date: Wed Mar 18 18:18:48 2015 +0100
Empty file selector should always be at the bottom of the list.
.../Gui/Component/MediaFileSetSelection.cs | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/MediaFileSetSelection.cs
b/LongoMatch.GUI/Gui/Component/MediaFileSetSelection.cs
index 4cba878..447da3e 100644
--- a/LongoMatch.GUI/Gui/Component/MediaFileSetSelection.cs
+++ b/LongoMatch.GUI/Gui/Component/MediaFileSetSelection.cs
@@ -100,12 +100,8 @@ namespace LongoMatch.Gui.Component
if (chooser.MediaFile != null) {
fileSet.Add (chooser.MediaFile);
} else {
- if (!have_empty_chooser) {
- have_empty_chooser = true;
- } else {
- // Mark for removal as we only want one empty file chooser at
most
- to_remove.Add (chooser);
- }
+ // Mark for removal as we only want one empty file chooser at most
+ to_remove.Add (chooser);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]