switch save and cancel, make recipes available through menu, remove calibration tools in mock
This commit is contained in:
@@ -147,7 +147,8 @@ class WeightApp(tk.Tk):
|
||||
if self.view is None:
|
||||
self.view = MainView(self,
|
||||
tare_command=self.weight_reader.tare,
|
||||
calibrate_command=self.calibrate)
|
||||
calibrate_command=self.calibrate,
|
||||
is_mock=isinstance(self.weight_reader.serial, SerialMock))
|
||||
self.view.update_views(selected_types)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user