[dconf-editor] Add an exception to previous rule.



commit 73b1f3fc0b75558d532c2bb486847aea288b55cb
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Sep 23 17:01:00 2018 +0200

    Add an exception to previous rule.

 editor/registry-view.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/editor/registry-view.vala b/editor/registry-view.vala
index 9f0b5ce..e92597e 100644
--- a/editor/registry-view.vala
+++ b/editor/registry-view.vala
@@ -97,6 +97,8 @@ private class RegistryView : RegistryList
         ListBoxRow? row;
         if (n_items == 1)
             row = key_list_box.get_row_at_index (0);
+        else if (n_items == 2)
+            row = key_list_box.get_row_at_index (1);
         else
         {
             SimpleSettingObject sso = (SimpleSettingObject) list_model.get_object (n_items - 1);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]