removed unused method in texter

This commit is contained in:
Stefan Kögl 2014-04-17 01:56:08 +02:00
parent de19433571
commit 21c59656a3
1 changed files with 0 additions and 7 deletions

View File

@ -402,13 +402,6 @@ class MainWindow(KMainWindow, Ui_MainWindow):
return re.sub(" +", " ", text.replace("\n", " ")).strip()[:20]
def title_by_index(self, ix):
for title, (text, index) in self.items.iteritems():
if index == ix:
return title
return None
def slot_next_item(self):
self.current = (self.text_combo.currentItem() + 1) % len(self.model.text_db)
self.text_combo.setCurrentItem(self.current)