summaryrefslogtreecommitdiff
path: root/src/main/python/utils/toolbar.py
diff options
context:
space:
mode:
authorBlaine2020-05-16 11:55:23 +0530
committerBlaine2020-05-16 11:55:23 +0530
commit7df3f6ab2aadbc178173a26a299c9a809aaa35f4 (patch)
treeddb08518a6c279ec8b640d5dcdf59b810109a5f2 /src/main/python/utils/toolbar.py
parentc6a60b1c69daaa819ba52d29c5f5dc8a83023892 (diff)
downloadChemical-PFD-7df3f6ab2aadbc178173a26a299c9a809aaa35f4.tar.gz
Chemical-PFD-7df3f6ab2aadbc178173a26a299c9a809aaa35f4.tar.bz2
Chemical-PFD-7df3f6ab2aadbc178173a26a299c9a809aaa35f4.zip
QDragLeaveEvent + Generator functions
Diffstat (limited to 'src/main/python/utils/toolbar.py')
-rw-r--r--src/main/python/utils/toolbar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/python/utils/toolbar.py b/src/main/python/utils/toolbar.py
index 93eb653..6f276df 100644
--- a/src/main/python/utils/toolbar.py
+++ b/src/main/python/utils/toolbar.py
@@ -89,7 +89,8 @@ class toolbar(QDockWidget):
@property
def toolbarItemList(self):
- return self.toolbarButtonDict.keys()
+ for i in self.toolbarButtonDict.keys():
+ yield i
class toolbarButton(QToolButton):