mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
add modified to shared deck browser
This commit is contained in:
parent
5db68f9f41
commit
16662fd7ab
1 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ class GetShared(QDialog):
|
||||||
self.form.table.setRowCount(len(self.curList))
|
self.form.table.setRowCount(len(self.curList))
|
||||||
self.items = {}
|
self.items = {}
|
||||||
if self.type == 0:
|
if self.type == 0:
|
||||||
cols = (R_TITLE, R_FACTS, R_COUNT)
|
cols = (R_TITLE, R_FACTS, R_COUNT, R_MODIFIED)
|
||||||
else:
|
else:
|
||||||
cols = (R_TITLE, R_COUNT, R_MODIFIED)
|
cols = (R_TITLE, R_COUNT, R_MODIFIED)
|
||||||
for rc, r in enumerate(self.curList):
|
for rc, r in enumerate(self.curList):
|
||||||
|
@ -137,9 +137,9 @@ class GetShared(QDialog):
|
||||||
def typeChanged(self):
|
def typeChanged(self):
|
||||||
self.form.table.clear()
|
self.form.table.clear()
|
||||||
if self.type == 0:
|
if self.type == 0:
|
||||||
self.form.table.setColumnCount(3)
|
self.form.table.setColumnCount(4)
|
||||||
self.form.table.setHorizontalHeaderLabels([
|
self.form.table.setHorizontalHeaderLabels([
|
||||||
_("Title"), _("Facts"), _("Downloads")])
|
_("Title"), _("Facts"), _("Downloads"), _("Modified")])
|
||||||
else:
|
else:
|
||||||
self.form.table.setColumnCount(3)
|
self.form.table.setColumnCount(3)
|
||||||
self.form.table.setHorizontalHeaderLabels([
|
self.form.table.setHorizontalHeaderLabels([
|
||||||
|
|
Loading…
Reference in a new issue