Skip to content

Commit

Permalink
Clear measurement labels on new scan
Browse files Browse the repository at this point in the history
  • Loading branch information
EarToEarOak committed Jul 31, 2014
1 parent 4430b47 commit de7d926
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main_window.py
Expand Up @@ -522,6 +522,7 @@ def __on_new(self, _event):
self.locations.clear()
self.__saved(True)
self.__set_plot(self.spectrum, False)
self.graph.clear_selection()

def __on_open(self, _event):
if self.__save_warn(Warn.OPEN):
Expand Down
1 change: 1 addition & 0 deletions src/panels.py
Expand Up @@ -760,6 +760,7 @@ def update_measure(self):
def clear_measurement(self):
for control in self.locsMeasure:
self.__set_measure_value(control, "")
self.__clear_checks()
self.update_measure()
self.measure = None

Expand Down
2 changes: 1 addition & 1 deletion src/version-timestamp
@@ -1 +1 @@
1406767151
1406768246

0 comments on commit de7d926

Please sign in to comment.