From 8d23f8457aeb17b09c3323425bf175f6faf6c3b8 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Wed, 15 Jul 2015 13:35:18 -0400 Subject: [PATCH] Add a new WX inspection window for devs (disabled) --- Cura/gui/app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cura/gui/app.py b/Cura/gui/app.py index f433bdf1..4c4ec2cb 100644 --- a/Cura/gui/app.py +++ b/Cura/gui/app.py @@ -161,9 +161,14 @@ class CuraApp(wx.App): profile.putPreference('last_run_version', version.getVersion(False)) profile.performVersionUpgrade() #newVersionDialog.newVersionDialog().Show() + if version.isDevVersion(): profile.performVersionUpgrade() + import wx.lib.inspection + # Show the WX widget inspection tool + #wx.lib.inspection.InspectionTool().Show() + setFullScreenCapable(self.mainWindow) -- 2.30.2