Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimize console on fpdb launch for windows #29

Open
wants to merge 1 commit into
base: chazdazzle
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pyfpdb/fpdb.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"""
Expand Down