Browse Source

Fix tab selection

Neal Wilson 6 years ago
parent
commit
dfa5c7caf8
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      config/Windows/schedule.xml

+ 2
- 2
config/Windows/schedule.xml View File

@@ -110,7 +110,7 @@
110 110
         filters.clear();
111 111
         table.clear();
112 112
         green.text = "0.0";
113
-        pages.setCurrentIndex(0);
113
+        tabs.setCurrentIndex(0);
114 114
         editingstack.setCurrentIndex(1);
115 115
         var query = new QSqlQuery();
116 116
         query.exec("SELECT nextval('scheduled_roasts_id_seq'::regclass)");
@@ -154,7 +154,7 @@
154 154
     };
155 155
     batches.selectEntry.connect(function(id) {
156 156
         saved = true;
157
-        pages.setCurrentIndex(0);
157
+        tabs.setCurrentIndex(0);
158 158
         editingstack.setCurrentIndex(1);
159 159
         batch.text = id;
160 160
         var query = new QSqlQuery();

Loading…
Cancel
Save