Browse Source

piket_client: Disable add CT

Maarten van den Berg 1 month ago
parent
commit
266c396601
1 changed files with 5 additions and 5 deletions
  1. 5 5
      piket_client/gui.py

+ 5 - 5
piket_client/gui.py

232
         self.toolbar.addWidget(self.create_spacer())
232
         self.toolbar.addWidget(self.create_spacer())
233
 
233
 
234
         # Right
234
         # Right
235
-        self.toolbar.addAction(
236
-            self.load_icon("add_consumption_type.png"),
237
-            "Nieuw",
238
-            self.add_consumption_type,
239
-        )
235
+        # self.toolbar.addAction(
236
+        #     self.load_icon("add_consumption_type.png"),
237
+        #     "Nieuw",
238
+        #     self.add_consumption_type,
239
+        # )
240
         self.toolbar.setContextMenuPolicy(Qt.PreventContextMenu)
240
         self.toolbar.setContextMenuPolicy(Qt.PreventContextMenu)
241
         self.toolbar.setFloatable(False)
241
         self.toolbar.setFloatable(False)
242
         self.toolbar.setMovable(False)
242
         self.toolbar.setMovable(False)