Ignore:
Timestamp:
11/14/12 13:33:47 (17 months ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Add-ons: warn users that Orange should be restarted after updating or removal of add-ons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/orngDlgs.py

    r11025 r11026  
    866866            except Exception, e: 
    867867                QMessageBox.critical(self, "Error", "Problem installing add-on %s: %s" % (name, e)) 
     868 
     869        if len(upgrade) > 0: 
     870            QMessageBox.warning(self, "Restart Orange", "After upgrading add-ons, it is very important to restart Orange to make sure the changes have been applied.") 
     871        elif len(remove) > 0:  # Don't bother with this if there has already been one (more important) warning. 
     872            QMessageBox.warning(self, "Restart Orange", "After removal of add-ons, it is suggested that you restart Orange for the changes to become effective.") 
    868873 
    869874        QDialog.accept(self) 
Note: See TracChangeset for help on using the changeset viewer.