summaryrefslogtreecommitdiff
path: root/src/main/python/utils/toolbar.py
diff options
context:
space:
mode:
authorBlaine2020-06-10 20:42:52 +0530
committerBlaine2020-06-10 20:42:52 +0530
commitcdd7ca2a45f5e0cfd14e20a3d1fff8a58d8be32d (patch)
tree0b98748057246911595792cde5a71f6ca929ae89 /src/main/python/utils/toolbar.py
parenta8f63cfd34be8c42917f560db8d0f37598fb47c6 (diff)
downloadChemical-PFD-cdd7ca2a45f5e0cfd14e20a3d1fff8a58d8be32d.tar.gz
Chemical-PFD-cdd7ca2a45f5e0cfd14e20a3d1fff8a58d8be32d.tar.bz2
Chemical-PFD-cdd7ca2a45f5e0cfd14e20a3d1fff8a58d8be32d.zip
implement new svg files
Diffstat (limited to 'src/main/python/utils/toolbar.py')
-rw-r--r--src/main/python/utils/toolbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/python/utils/toolbar.py b/src/main/python/utils/toolbar.py
index ffb0896..90b46fb 100644
--- a/src/main/python/utils/toolbar.py
+++ b/src/main/python/utils/toolbar.py
@@ -120,7 +120,7 @@ class toolbarButton(QToolButton):
def __init__(self, parent = None, item = None):
super(toolbarButton, self).__init__(parent)
#uses fbs resource manager to get icons
- self.setIcon(QIcon(fileImporter(f'toolbar/{item["icon"]}')))
+ self.setIcon(QIcon(fileImporter('toolbar', item['icon'])))
self.setIconSize(QSize(64, 64)) #unecessary but left for future references
self.dragStartPosition = None #intialize value for drag event
self.itemObject = item['object'] #refer current item object, to handle drag mime