Skip to content

Commit a246e87

Browse files
committed
Tidy up code
1 parent 221ad70 commit a246e87

File tree

6 files changed

+98
-14
lines changed

6 files changed

+98
-14
lines changed

.idea/MathCATForPython.iml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

addon/globalPlugins/MathCAT/MathCATgui.py

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
###########################################################################
4-
# Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
5-
# http://www.wxformbuilder.org/
6-
#
7-
# PLEASE DO *NOT* EDIT THIS FILE!
8-
###########################################################################
9-
101
import wx
112
# import wx.xrc
123
import gettext
@@ -19,7 +10,6 @@
1910
# Class MathCATPreferencesDialog
2011
###########################################################################
2112

22-
2313
class MathCATPreferencesDialog(wx.Dialog):
2414
def __init__(self, parent):
2515
wx.Dialog.__init__(
@@ -205,7 +195,7 @@ def __init__(self, parent):
205195

206196
bSizerSpeech.Add(bSizerSpeechStyle, 1, wx.EXPAND, 5)
207197

208-
bSizer71 = wx.BoxSizer(wx.HORIZONTAL)
198+
bSizerSpeechAmount = wx.BoxSizer(wx.HORIZONTAL)
209199

210200
self.m_staticTextSpeechAmount = wx.StaticText(
211201
self.m_panelSpeech,
@@ -218,7 +208,7 @@ def __init__(self, parent):
218208
)
219209
self.m_staticTextSpeechAmount.Wrap(-1)
220210

221-
bSizer71.Add(self.m_staticTextSpeechAmount, 0, wx.ALL, 5)
211+
bSizerSpeechAmount.Add(self.m_staticTextSpeechAmount, 0, wx.ALL, 5)
222212

223213
# Translators: options for speech verbosity.
224214
m_choiceSpeechAmountChoices = [
@@ -238,9 +228,9 @@ def __init__(self, parent):
238228
0,
239229
)
240230
self.m_choiceSpeechAmount.SetSelection(0)
241-
bSizer71.Add(self.m_choiceSpeechAmount, 0, wx.ALL, 5)
231+
bSizerSpeechAmount.Add(self.m_choiceSpeechAmount, 0, wx.ALL, 5)
242232

243-
bSizerSpeech.Add(bSizer71, 1, wx.EXPAND, 5)
233+
bSizerSpeech.Add(bSizerSpeechAmount, 1, wx.EXPAND, 5)
244234

245235
bSizerRelativeSpeed = wx.BoxSizer(wx.HORIZONTAL)
246236

0 commit comments

Comments
 (0)