feature/port-to-py3 #11
3
PyLoT.py
3
PyLoT.py
@ -3096,11 +3096,12 @@ class MainWindow(QMainWindow):
|
|||||||
self.metadata_widget.setLayout(grid_layout)
|
self.metadata_widget.setLayout(grid_layout)
|
||||||
self.array_layout.addWidget(self.metadata_widget)
|
self.array_layout.addWidget(self.metadata_widget)
|
||||||
|
|
||||||
def init_array_map(self, index=1):
|
def init_array_map(self, checked=0, index=1):
|
||||||
'''
|
'''
|
||||||
Try to init array map widget. If no metadata are given,
|
Try to init array map widget. If no metadata are given,
|
||||||
self.get_metadata will be called.
|
self.get_metadata will be called.
|
||||||
'''
|
'''
|
||||||
|
if checked: pass # dummy argument for QAction trigger signal
|
||||||
self.tabs.setCurrentIndex(1)
|
self.tabs.setCurrentIndex(1)
|
||||||
# if there is no metadata (invetories is an empty list), just initialize the default empty tab
|
# if there is no metadata (invetories is an empty list), just initialize the default empty tab
|
||||||
if not self.metadata.inventories:
|
if not self.metadata.inventories:
|
||||||
|
Loading…
Reference in New Issue
Block a user