Hides textFormat when not needed

This commit is contained in:
Olivier Keshavjee 2015-06-26 16:33:29 +02:00
parent 41a691a90a
commit fd94cc1288

View file

@ -57,7 +57,8 @@ class metadataView(QWidget, Ui_metadataView):
self.txtNotes.setCurrentModelIndexes(indexes)
self.properties.selectionChanged(sourceView)
# Hides textFormat
self.textFormat.updateFromIndex(QModelIndex())
self._lastIndexes = indexes
def setDict(self, d):