Fix imports

This commit is contained in:
leha-code 2022-04-09 17:40:48 -04:00
parent c4d0dfdb57
commit acf3d62750
No known key found for this signature in database
GPG Key ID: 15227A6455DDF7EE
1 changed files with 3 additions and 3 deletions

View File

@ -56,8 +56,8 @@ import mcpiedit
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtWebEngine import *
from PyQt5.QtWebEngineWidgets import *
from PyQt5.QtWebKit import *
from PyQt5.QtWebKitWidgets import *
from qtwidgets import AnimatedToggle
@ -567,7 +567,7 @@ class Planet(QMainWindow):
return widget
def changelog_widget(self):
web_engine = QWebEngineView() # Create a webview object
web_engine = QWebView() # Create a webview object
web_engine.load(
QUrl().fromLocalFile(f"{absolute_path}/assets/changelog.html")
) # Load the local file