Disable copy config option when empty click

This commit is contained in:
Artem30801
2020-02-12 18:27:27 +03:00
parent 82d9821b9a
commit c29fb57391

View File

@@ -217,6 +217,7 @@ class CopterTableWidget(QTableView):
if item is None:
edit_config.setDisabled(True)
copy_config.setDisabled(True)
menu.exec_(QCursor.pos())