(self)
Change the button label when the number of attributes changes. The method does not reset
        anything so the user can still see the results until actually restarting the search.
Change the button label when the number of attributes changes. The method does not reset
        anything so the user can still see the results until actually restarting the search.
Change the button label when the number of attributes changes . The method does not reset anything so the user can still see the results until actually restarting the search .
def _n_attrs_changed(self):
        """
        Change the button label when the number of attributes changes. The method does not reset
        anything so the user can still see the results until actually restarting the search.
        """
        if self.n_attrs != self.last_run_n_attrs or self.saved_state is None:
            self.button.setText("Start")
        else:
            self.button.setText("Continue")
        self.button.setEnabled(self.check_preconditions())
def _n_attrs_changed ( self ) : if self . n_attrs != self . last_run_n_attrs or self . saved_state is None : self . button . setText ( "Start" ) else : self . button . setText ( "Continue" ) self . button . setEnabled ( self . check_preconditions ( ) )