"research/syntaxnet/tools/bazel.rc" did not exist on "bb9e441861a3e08ff5c353271803bd98ee0e74f1"
Commit f21a8f54 authored by HinGwenWoong's avatar HinGwenWoong
Browse files

Set window maximized and window goes to the front when activate.

parent 09366736
......@@ -101,6 +101,8 @@ class MainWindow(QMainWindow, WindowMixin):
def __init__(self, lang="ch", gpu=False, defaultFilename=None, defaultPrefdefClassFile=None, defaultSaveDir=None):
super(MainWindow, self).__init__()
self.setWindowTitle(__appname__)
self.setWindowState(Qt.WindowMaximized) # set window max
self.activateWindow() # PPOCRLabel goes to the front when activate
# Load setting in the main thread
self.settings = Settings()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment