Skip to content

Commit 2fa5674

Browse files
Change code in auto_save, because was crashing o Linux
1 parent 4c4dc37 commit 2fa5674

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/robotide/ui/mainframe.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,7 @@ def _on_auto_save(self, event):
385385
RideBeforeSaving().publish()
386386
self.save_all()
387387
wx.CallAfter(self._start_auto_save_timer)
388-
import threading
389-
x = threading.Thread(target=self._status_scroller, args=(_('Auto-saved all files'),))
390-
x.start()
388+
wx.CallAfter(self._status_scroller, status_msg=_('Auto-saved all files'))
391389

392390
def _status_scroller(self, status_msg:str):
393391
self.SetStatusText(status_msg)

src/robotide/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
#
1616
# Automatically generated by `tasks.py`.
1717

18-
VERSION = 'v2.2.3dev9'
18+
VERSION = 'v2.2.3dev10'

0 commit comments

Comments
 (0)