diff options
Diffstat (limited to 'silx/gui/plot/tools/profile/_BaseProfileToolBar.py')
-rw-r--r-- | silx/gui/plot/tools/profile/_BaseProfileToolBar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/silx/gui/plot/tools/profile/_BaseProfileToolBar.py b/silx/gui/plot/tools/profile/_BaseProfileToolBar.py index 6d9d6d4..ced81da 100644 --- a/silx/gui/plot/tools/profile/_BaseProfileToolBar.py +++ b/silx/gui/plot/tools/profile/_BaseProfileToolBar.py @@ -1,7 +1,7 @@ # coding: utf-8 # /*########################################################################## # -# Copyright (c) 2018 European Synchrotron Radiation Facility +# Copyright (c) 2018-2019 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -321,7 +321,7 @@ class _BaseProfileToolBar(qt.QToolBar): def __roiAdded(self, roi): """Handle new ROI""" - roi.setLabel('Profile') + roi.setName('Profile') roi.setEditable(True) # Remove any other ROI |