Ignore:
Timestamp:
07/20/12 12:39:13 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (bug fixes and a minor improvement)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: interactive test needed.

Put in Release Notes: No

Module(s): asapplotter, flagplotter, and sdplot (CASA)

Description:

Fixed bugs in asapplotter and flagplotter which prevented users from exiting
from notation mode, when the other buttons in the additional toolbar is not active.
Consintently use 'self._data' in asapplotter.plotgrid() instead of 'scan'.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/customgui_tkagg.py

    r2416 r2603  
    117117    def modify_note(self):
    118118        if not self.figmgr.toolbar.mode == '': return
    119         self.figmgr.toolbar.set_message('text: select a position/text')
    120119        if self.mode == 'note':
    121120            self.bNote.config(relief='raised')
    122121            self.mode = 'none'
    123122            self.spec_show()
     123            if not self.button:
     124                self.notewin.close_widgets()
     125                self.__disconnect_event()
    124126            return
     127        self.figmgr.toolbar.set_message('text: select a position/text')
    125128        #self.bSpec.config(relief='raised')
    126129        self.bStat.config(relief='raised')
     
    603606            self.mode = 'none'
    604607            self.spec_show()
     608            if not self.button:
     609                self.notewin.close_widgets()
     610                self.__disconnect_event()
    605611            return
    606612        self.figmgr.toolbar.set_message('text: select a position/text')
Note: See TracChangeset for help on using the changeset viewer.