test: simulate all UI buttons and handle log folder errors
This commit is contained in:
1 parent
42e8719026
commit
b86e4e315a
5 files changed
+1796
-1
No files matched your search
@@ -1688,7 +1688,11 @@ class MainWindow(QWidget):
|
||||
self.busy = False; self._update()
|
||||
|
||||
def open_logs(self):
|
||||
self.data_root.mkdir(parents=True, exist_ok=True); os.startfile(str(self.data_root))
|
||||
try:
|
||||
self.data_root.mkdir(parents=True, exist_ok=True)
|
||||
os.startfile(str(self.data_root))
|
||||
except Exception as error:
|
||||
self._display_error(error)
|
||||
|
||||
def recover(self):
|
||||
if not self.recovery_path: return
|
||||
|
||||
Reference in new issue
Block a user