Fixing sms dialog
authorEd Page <eopage@byu.net>
Tue, 11 Jan 2011 23:59:35 +0000 (17:59 -0600)
committerEd Page <eopage@byu.net>
Tue, 11 Jan 2011 23:59:35 +0000 (17:59 -0600)
src/dialogs.py

index 4bcf26c..00e312c 100644 (file)
@@ -415,7 +415,7 @@ class SMSEntryWindow(object):
                centralWidget.setLayout(self._layout)
 
                self._window = QtGui.QMainWindow(parent)
-               qui_utils.set_window_orientation(QtCore.Qt.Horizontal)
+               qui_utils.set_window_orientation(self._window, QtCore.Qt.Horizontal)
                qui_utils.set_stackable(self._window, True)
                self._window.setWindowTitle("Contact")
                self._window.setCentralWidget(centralWidget)