Couldn't update the message in the SMS window, fixed
[gc-dialer] / src / gv_views.py
index 55815c3..6aba9c3 100644 (file)
@@ -451,7 +451,7 @@ class Messages(object):
        ALL_STATUS = "Any"
        MESSAGE_STATUSES = [UNREAD_STATUS, UNARCHIVED_STATUS, ALL_STATUS]
 
-       _MIN_MESSAGES_SHOWN = 4
+       _MIN_MESSAGES_SHOWN = 1
 
        def __init__(self, app, session, errorLog):
                self._selectedTypeFilter = self.ALL_TYPES
@@ -674,7 +674,7 @@ class Messages(object):
        @QtCore.pyqtSlot(QtCore.QModelIndex)
        @misc_utils.log_exception(_moduleLogger)
        def _on_column_resized(self, index, oldSize, newSize):
-               self._htmlDelegate.setWidth(newSize)
+               self._htmlDelegate.setWidth(newSize, self._itemStore)
 
 
 class Contacts(object):