Skip to content

Commit d8e4cd4

Browse files
committed
select first row in compare(sessions)
1 parent 18c8bb5 commit d8e4cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

larray_editor/comparator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ def setup_and_check(self, sessions, names, title='', colors='red-white-blue'):
183183
self.listwidget = listwidget
184184

185185
comparatorwidget = ComparatorWidget(self)
186-
comparatorwidget.set_data(self.get_arrays(array_names[0]), self.stack_axis)
187186
self.comparatorwidget = comparatorwidget
188187

189188
main_splitter = QSplitter(Qt.Horizontal)
@@ -209,6 +208,7 @@ def setup_and_check(self, sessions, names, title='', colors='red-white-blue'):
209208

210209
# Make the dialog act as a window
211210
self.setWindowFlags(Qt.Window)
211+
self.listwidget.setCurrentRow(0)
212212
return True
213213

214214
def get_arrays(self, name):

0 commit comments

Comments
 (0)