Skip to content

Commit f9844c8

Browse files
committed
added checkbox for warning option
1 parent 4f5b18b commit f9844c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

qgist/workbench/ui_manager_base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
QIcon,
4444
)
4545
from PyQt5.QtWidgets import (
46+
QCheckBox,
4647
QDialog,
4748
QHBoxLayout,
4849
QLabel,
@@ -127,6 +128,9 @@ def _init_dialogtoolbar(ui_dict, toolbar_layout, plugin_root_fld):
127128

128129
toolbar_layout.addStretch()
129130

131+
ui_dict['checkbox_unnamedwarning'] = QCheckBox(translate('global', 'Warn if UI elements can not be uniquely identified'))
132+
toolbar_layout.addWidget(ui_dict['checkbox_unnamedwarning'])
133+
130134
@staticmethod
131135
def _get_workbenchlist():
132136

0 commit comments

Comments
 (0)