Skip to content

Commit

Permalink
Merge pull request #287 from NaturalHistoryMuseum/feature/286-disable…
Browse files Browse the repository at this point in the history
…-default-when-selected

[#286] Disable default template command when the default template sel…
  • Loading branch information
quicklizard99 committed Apr 26, 2016
2 parents 733366f + 40b57e6 commit e1464f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ This is an overview of major changes. Refer to the git repository for a full log

Version 0.1.28
-------------
- Fixed #286 - Disable default template command when the default template selected
- Fixed #284 - Document info view to contain links
- Fixed #281 - Don't make images read-only
- Fixed #204 - Improvements to subsegment dots
Expand Down
1 change: 1 addition & 0 deletions inselect/gui/user_template_popup_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ def changed(self):
debug_print('UserTemplateWidget.changed')
choice = user_template_choice()
self.setText(choice.current.name)
self._default_action.setEnabled(not choice.current_is_default)
self._refresh_action.setEnabled(not choice.current_is_default)

0 comments on commit e1464f8

Please sign in to comment.