Skip to content
Snippets Groups Projects
Commit 2708c7e2 authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files

changed mouse event handling in ChipLabelView

parent ebefacd3
No related branches found
No related tags found
No related merge requests found
...@@ -161,7 +161,9 @@ class ImageChipViewSettings(QGroupBox, FORM_CLASS_IMAGECHIPVIEWSETTINGS): ...@@ -161,7 +161,9 @@ class ImageChipViewSettings(QGroupBox, FORM_CLASS_IMAGECHIPVIEWSETTINGS):
menu = QMenu() menu = QMenu()
#add general options #add general options
action = menu.addAction('Remove Band View')
action.setToolTip('Removes this band view')
action.triggered.connect(lambda : self.removeView.emit())
#add QGIS specific options #add QGIS specific options
txt = QApplication.clipboard().text() txt = QApplication.clipboard().text()
if re.search('<!DOCTYPE(.|\n)*rasterrenderer.*type="multibandcolor"', txt) is not None: if re.search('<!DOCTYPE(.|\n)*rasterrenderer.*type="multibandcolor"', txt) is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment