diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/WebBrowser/Session/SessionManager.py --- a/eric7/WebBrowser/Session/SessionManager.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/WebBrowser/Session/SessionManager.py Sat May 22 18:51:46 2021 +0200 @@ -22,8 +22,8 @@ QComboBox, QVBoxLayout ) -from E5Gui import E5MessageBox -from E5Gui.E5OverrideCursor import E5OverrideCursor +from E5Gui import EricMessageBox +from E5Gui.EricOverrideCursor import EricOverrideCursor import Utilities import Preferences @@ -443,7 +443,7 @@ if window is None: window = WebBrowserWindow.mainWindow() - with E5OverrideCursor(): + with EricOverrideCursor(): # restore session for first window data = sessionData["Windows"].pop(0) window.tabWidget().loadFromSessionData(data) @@ -507,7 +507,7 @@ newSessionPath = os.path.join(self.getSessionsDirectory(), newName) if os.path.exists(newSessionPath): - E5MessageBox.information( + EricMessageBox.information( WebBrowserWindow.getWindow(), title, self.tr("""The session file "{0}" exists already. Please""" @@ -517,7 +517,7 @@ if flags & SessionManager.CloneSession: if not QFile.copy(sessionFilePath, newSessionPath): - E5MessageBox.critical( + EricMessageBox.critical( WebBrowserWindow.getWindow(), title, self.tr("""An error occurred while cloning the session""" @@ -525,7 +525,7 @@ return else: if not QFile.rename(sessionFilePath, newSessionPath): - E5MessageBox.critical( + EricMessageBox.critical( WebBrowserWindow.getWindow(), title, self.tr("""An error occurred while renaming the session""" @@ -556,7 +556,7 @@ newSessionPath = os.path.join(self.getSessionsDirectory(), newName) if os.path.exists(newSessionPath): - E5MessageBox.information( + EricMessageBox.information( WebBrowserWindow.getWindow(), self.tr("Save Session"), self.tr("""The session file "{0}" exists already. Please""" @@ -576,7 +576,7 @@ @rtype bool """ from WebBrowser.WebBrowserWindow import WebBrowserWindow - res = E5MessageBox.yesNo( + res = EricMessageBox.yesNo( WebBrowserWindow.getWindow(), self.tr("Restore Backup"), self.tr("""Are you sure you want to replace the current""" @@ -616,7 +616,7 @@ @type str """ from WebBrowser.WebBrowserWindow import WebBrowserWindow - res = E5MessageBox.yesNo( + res = EricMessageBox.yesNo( WebBrowserWindow.getWindow(), self.tr("Delete Session"), self.tr("""Are you sure you want to delete session "{0}"?""") @@ -645,7 +645,7 @@ newSessionPath = os.path.join(self.getSessionsDirectory(), newName) if os.path.exists(newSessionPath): - E5MessageBox.information( + EricMessageBox.information( WebBrowserWindow.getWindow(), self.tr("New Session"), self.tr("""The session file "{0}" exists already. Please"""