forked from M-Labs/artiq
gui/applets: fix applet removal
This commit is contained in:
parent
3d56ea5c71
commit
cc3a45d4e4
|
@ -160,7 +160,7 @@ class AppletsDock(dockarea.Dock):
|
||||||
token = getattr(self.table.item(row, 0), "applet_token", None)
|
token = getattr(self.table.item(row, 0), "applet_token", None)
|
||||||
if token is not None:
|
if token is not None:
|
||||||
self.manager.delete(token)
|
self.manager.delete(token)
|
||||||
self.table.deleteRow(row)
|
self.table.removeRow(row)
|
||||||
|
|
||||||
def save_state(self):
|
def save_state(self):
|
||||||
state = []
|
state = []
|
||||||
|
|
Loading…
Reference in New Issue