Enabled text_select in pywebview main window

This commit is contained in:
RemixDev 2020-06-03 19:34:17 +02:00
parent c7d9413dab
commit f2dc176f00

View file

@ -77,7 +77,7 @@ if __name__ == '__main__':
w = 800 w = 800
h = 600 h = 600
window = webview.create_window('deemix', 'http://'+url+':'+str(port), window = webview.create_window('deemix', 'http://'+url+':'+str(port),
confirm_close=True, x=x, y=y, width=w, height=h) confirm_close=True, x=x, y=y, width=w, height=h, text_select=True)
window.closing += save_position window.closing += save_position
if sys.platform == "win32": if sys.platform == "win32":
from webview.platforms.cef import settings from webview.platforms.cef import settings