Windows
This commit is contained in:
7
qt.py
7
qt.py
@@ -1758,7 +1758,7 @@ class WillSettingsWidget(QWidget):
|
||||
_logger.info(f"File opened with default app: {temp_path}")
|
||||
else:
|
||||
export_meta_gui(
|
||||
self.bal_window.window, f"{self.bal_window.wallet}_event.csv", BalCalendar.save_to_cwd
|
||||
self.bal_window.window, f"will_event.csv", BalCalendar.save_to_cwd
|
||||
)
|
||||
|
||||
def on_locktime_change(self):
|
||||
@@ -4002,7 +4002,10 @@ class BalCalendar:
|
||||
subprocess.check_call([calendar_app, path])
|
||||
return True
|
||||
except Exception as _e:
|
||||
return False
|
||||
try:
|
||||
os.startfile(path)
|
||||
except:
|
||||
return False
|
||||
|
||||
@staticmethod
|
||||
def save_to_cwd(path, filename="evento.ics"):
|
||||
|
||||
Reference in New Issue
Block a user