Added the template editor dialog
[biaweb_qt.git] / article_dialog.py
index 740692c..6b51e70 100644 (file)
@@ -9,6 +9,8 @@ class ArticleDialog (PyQt4.QtGui.QDialog, ui_article_dialog.Ui_ArticleDialog):
        def __init__ (self, parent):
                PyQt4.QtGui.QDialog.__init__ (self, parent)
                self.setupUi (self)
+               # set window to be able to be maximized or minimized
+               self.setWindowFlags (PyQt4.QtCore.Qt.Window)
                # set the code highlighter to the document
                self.hltext = highlighter.SimpleHtmlHighlighter (self.content.document ())