Helpviewer/HelpWindow.py

changeset 37
bfe92e414977
parent 15
f6ccc31d6e72
child 52
ba69827929ee
--- a/Helpviewer/HelpWindow.py	Thu Jan 07 15:22:29 2010 +0000
+++ b/Helpviewer/HelpWindow.py	Thu Jan 07 19:03:58 2010 +0000
@@ -1611,8 +1611,6 @@
         printer.setPrinterName(Preferences.getPrinter("PrinterName"))
         
         printDialog = QPrintDialog(printer, self)
-        if browser.hasSelection():
-            printDialog.addEnabledOption(QAbstractPrintDialog.PrintSelection)
         if printDialog.exec_() == QDialog.Accepted:
             try:
                 frame.print_(printer)
@@ -2668,7 +2666,7 @@
         """
         Private slot to show the search engines configuration dialog.
         """
-        from OpenSearch.OpenSearchDialog import OpenSearchDialog
+        from .OpenSearch.OpenSearchDialog import OpenSearchDialog
         
         dlg = OpenSearchDialog(self)
         dlg.exec_()
@@ -2685,7 +2683,7 @@
         """
         Private slot to show the passwords management dialog.
         """
-        from Passwords.PasswordsDialog import PasswordsDialog
+        from .Passwords.PasswordsDialog import PasswordsDialog
         
         dlg = PasswordsDialog(self)
         dlg.exec_()
@@ -2822,4 +2820,4 @@
         if cls._adblockManager is None:
             cls._adblockManager = AdBlockManager()
         
-        return cls._adblockManager
\ No newline at end of file
+        return cls._adblockManager

eric ide

mercurial