[bugfixes] some more bugfixes
This commit is contained in:
1 parent
cc1139d2ca
commit
320cb42390
4 files changed
+18
-10
No files matched your search
@@ -83,10 +83,10 @@ class Metadata(object):
|
||||
print('Path {} not in inventories list.'.format(path_to_inventory))
|
||||
return
|
||||
self.inventories.remove(path_to_inventory)
|
||||
for filename in self.inventory_files.keys():
|
||||
for filename in list(self.inventory_files.keys()):
|
||||
if filename.startswith(path_to_inventory):
|
||||
del (self.inventory_files[filename])
|
||||
for seed_id in self.seed_ids.keys():
|
||||
for seed_id in list(self.seed_ids.keys()):
|
||||
if self.seed_ids[seed_id].startswith(path_to_inventory):
|
||||
del (self.seed_ids[seed_id])
|
||||
# have to clean self.stations_dict as well
|
||||
|
||||
@@ -5453,7 +5453,7 @@ class LoadDataDlg(QDialog):
|
||||
class HelpForm(QDialog):
|
||||
def __init__(self, parent=None,
|
||||
page=QUrl('https://ariadne.geophysik.ruhr-uni-bochum.de/trac/PyLoT/')):
|
||||
super(HelpForm, self).__init__(parent, 1)
|
||||
super(HelpForm, self).__init__(parent)
|
||||
self.setAttribute(Qt.WA_DeleteOnClose)
|
||||
self.setAttribute(Qt.WA_GroupLeader)
|
||||
|
||||
|
||||
Reference in new issue
Block a user