File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -427,6 +427,7 @@ class Outputs:
427
427
428
428
palette_index = settings .Setting (_default_palette_index )
429
429
column_label_pos = settings .Setting (PositionTop )
430
+ selected_rows = settings .Setting (None , schema_only = True )
430
431
431
432
auto_commit = settings .Setting (True )
432
433
@@ -454,6 +455,7 @@ class Warning(widget.OWWidget.Warning):
454
455
455
456
def __init__ (self ):
456
457
super ().__init__ ()
458
+ self .__pending_selection = self .selected_rows
457
459
458
460
# set default settings
459
461
self .space_x = 10
@@ -719,7 +721,13 @@ def set_dataset(self, data=None):
719
721
self .openContext (self .data )
720
722
if self .annotation_index >= len (self .annotation_vars ):
721
723
self .annotation_index = 0
724
+
722
725
self .update_heatmaps ()
726
+ if data is not None and self .__pending_selection is not None :
727
+ self .selection_manager .select_rows (self .__pending_selection )
728
+ self .selected_rows = self .__pending_selection
729
+ self .__pending_selection = None
730
+
723
731
self .unconditional_commit ()
724
732
725
733
def update_heatmaps (self ):
You can’t perform that action at this time.
0 commit comments