Skip to content

Commit 072e436

Browse files
committed
the autosave mechanism will no longer save accidentally produced recordings on OFF lacking the CHARGE and DROP event
1 parent 375585f commit 072e436

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src/artisanlib/canvas.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13849,7 +13849,7 @@ def OffRecorder(self, autosave:bool = True, enableButton:bool = True) -> None:
1384913849
self.aw.clusterEvents()
1385013850
except Exception as e: # pylint: disable=broad-except
1385113851
_log.exception(e)
13852-
if autosave and self.autosaveflag != 0 and self.autosavepath:
13852+
if autosave and self.autosaveflag != 0 and self.autosavepath and self.timeindex[0] != -1 and self.timeindex[6] != 0: # only autosave if CHARGE and DROP are set
1385313853
try:
1385413854
self.aw.automaticsave()
1385513855
except Exception as e: # pylint: disable=broad-except

src/artisanlib/dialogs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def __init__(self, parent:QWidget, aw:'ApplicationWindow', title:str = '', conte
199199

200200
# Build the dialog layout
201201
homeLabel = QLabel()
202-
homeLabel.setText(f"{QApplication.translate('Label', 'For more details visit')} <a href='https://artisan-scope.org'>artisan-scope.org</a>")
202+
homeLabel.setText(f"{QApplication.translate('Label', 'For more details visit')} <a href='https://artisan-scope.org/help/'>artisan-scope.org/help/</a>")
203203
homeLabel.setOpenExternalLinks(True)
204204
buttonLayout = QHBoxLayout()
205205
buttonLayout.addWidget(homeLabel)

src/artisanlib/roast_properties.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ def __init__(self, parent:QWidget, aw:'ApplicationWindow', activeTab:int = 0) ->
13311331
plusLine.addWidget(self.plusLineStoresFrame)
13321332

13331333
plusLine.setStretch(0, 3)
1334-
plusLine.setStretch(4, 3)
1334+
plusLine.setStretch(4, 2)
13351335
plusLine.setStretch(6, 1)
13361336

13371337
self.label_origin_flag = QCheckBox(QApplication.translate('CheckBox','Standard bean labels'))

wiki/ReleaseHistory.md

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ v3.1.2 (April XX, 2025)
5656
- suppresses pick year from [artisan.plus](https://artisan.plus) beans pop up and roast name suggestion if origin/name combination is unique
5757
- improved accuracy on rendering [artisan.plus](https://artisan.plus) blend component weights
5858
- improved Cropster importer
59+
- the autosave mechanism will no longer save accidentally produced recordings on OFF lacking the CHARGE and DROP events. Note that that for roasts longer than 7min, the end of a roast is automatically added as DROP event on OFF, if no DROP event was set before.
5960

6061
* FIXES
6162
- fixes processing of MODBUS function 2 request which broke the just introduced autoCHARGE/autoDROP triggered by [Loring machines](https://artisan-scope.org/machines/loring/)

0 commit comments

Comments
 (0)