From 41bda264b149b7e0614c939d63fbbec033b87414 Mon Sep 17 00:00:00 2001 From: EasternSun300 <64664656+EasternSun300@users.noreply.github.com> Date: Sat, 29 Aug 2020 03:25:12 +0300 Subject: [PATCH] Minimize console on fpdb launch --- pyfpdb/fpdb.pyw | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyfpdb/fpdb.pyw b/pyfpdb/fpdb.pyw index 70a5029b4..b2a83dd54 100755 --- a/pyfpdb/fpdb.pyw +++ b/pyfpdb/fpdb.pyw @@ -16,7 +16,7 @@ #In the "official" distribution you can find the license in agpl-3.0.txt. import L10n _ = L10n.init_translation() - +import ctypes import os import sys import re @@ -95,7 +95,8 @@ try: except: VERSION = "0.40.4" - +ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 6) + class fpdb(QMainWindow): def tab_clicked(self, widget, tab_name): """called when a tab button is clicked to activate that tab"""