Skip to content

Commit

Permalink
v1.18.2 fix deleting from queue
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Feb 14, 2020
1 parent ab59c5d commit 6edd602
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions meleeuploader/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,9 @@ def __update_qview(self, row, options):
self._qview.resize_rows_contents()

def __delete_from_queue_view(self, job_num):
self._queueref[job_num].ignore = False if self.options.ignore else True
self._qview -= job_num
if not self._queueref[job_num].ignore:
self._queueref[job_num].ignore = True
self._qview -= job_num

def __save_queue(self):
if os.path.exists(consts.queue_values):
Expand Down
1 change: 1 addition & 0 deletions meleeuploader/viewers.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def __update_data(self, row, col, item):

def __delete_job(self):
self._oview.readonly = True
self.close()
self.parent._MeleeUploader__delete_from_queue_view(self.pos)

def __update_o_view(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from os import path

here = path.abspath(path.dirname(__file__))
version = '1.18.1 '
version = '1.18.2'

long_des = ""
with open(path.join(here, 'README.md')) as f:
Expand Down

0 comments on commit 6edd602

Please sign in to comment.