[minor] add event name to Histogram Window
This commit is contained in:
parent
4bf03ef0d9
commit
518019322d
@ -1368,7 +1368,10 @@ class MainWindow(QMainWindow):
|
|||||||
def buildMultiCompareWidget(self, eventlist):
|
def buildMultiCompareWidget(self, eventlist):
|
||||||
global_comparison = Comparison(eventlist=eventlist)
|
global_comparison = Comparison(eventlist=eventlist)
|
||||||
compare_widget = ComparisonWidget(global_comparison, self)
|
compare_widget = ComparisonWidget(global_comparison, self)
|
||||||
compare_widget.setWindowTitle('Histograms for all selected events')
|
for events_name, rb in self.cmpw.rb_dict.items():
|
||||||
|
if rb.isChecked():
|
||||||
|
break
|
||||||
|
compare_widget.setWindowTitle('Histograms for {}'.format(events_name))
|
||||||
compare_widget.hideToolbar()
|
compare_widget.hideToolbar()
|
||||||
compare_widget.setHistboxChecked(True)
|
compare_widget.setHistboxChecked(True)
|
||||||
return compare_widget
|
return compare_widget
|
||||||
|
Loading…
Reference in New Issue
Block a user