File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -691,7 +691,7 @@ def __on_split_cols_activated(self):
691691 self .set_column_split_var (self .col_split_cb .currentData (Qt .EditRole ))
692692
693693 def set_column_split_var (self , var : Optional [Variable ]):
694- if var != self .split_columns_var :
694+ if var is not self .split_columns_var :
695695 self .split_columns_var = var
696696 self .update_heatmaps ()
697697
@@ -1150,7 +1150,7 @@ def column_annotation_color_var_changed(self, value):
11501150 cbselect (self .col_side_color_cb , value , Qt .EditRole )
11511151
11521152 def set_column_annotation_color_var (self , var ):
1153- if self .column_annotation_color_var != var :
1153+ if self .column_annotation_color_var is not var :
11541154 self .column_annotation_color_var = var
11551155 colors = self .column_side_colors ()
11561156 if colors is not None :
You can’t perform that action at this time.
0 commit comments