This commit is contained in:
Kovid Goyal 2017-09-30 13:46:21 +05:30
parent 4153c234ea
commit 012cda06b8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -505,7 +505,7 @@ class VLTabs(QTabBar): # {{{
def contextMenuEvent(self, ev): def contextMenuEvent(self, ev):
m = QMenu(self) m = QMenu(self)
m.addAction(_('Sort alphabetically'), self.sort_alphabetically) m.addAction(_('Sort tabs alphabetically'), self.sort_alphabetically)
hidden = self.current_db.prefs['virt_libs_hidden'] hidden = self.current_db.prefs['virt_libs_hidden']
if hidden: if hidden:
s = m._s = m.addMenu(_('Restore hidden tabs')) s = m._s = m.addMenu(_('Restore hidden tabs'))