Browse Source

Fix tab selection

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

Loading…
Cancel
Save