mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 10:37:15 +00:00
parent
dffe8b0106
commit
c6533f47fe
@ -34,6 +34,8 @@ if __name__ == '__main__':
|
||||
help="Enable profiling")
|
||||
parser.add_argument("--onlydriver", nargs="+",
|
||||
help="Include this driver while loading")
|
||||
parser.add_argument("--inspect", action="store_true",
|
||||
help="Show wxPython inspector")
|
||||
logger.add_arguments(parser)
|
||||
args = parser.parse_args()
|
||||
|
||||
@ -48,4 +50,8 @@ if __name__ == '__main__':
|
||||
for fn in args.files:
|
||||
mainwindow.open_file(fn, select=False)
|
||||
|
||||
if args.inspect:
|
||||
import wx.lib.inspection
|
||||
wx.lib.inspection.InspectionTool().Show()
|
||||
|
||||
app.MainLoop()
|
||||
|
Loading…
Reference in New Issue
Block a user