mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
remove advanced options button from study options
This commit is contained in:
parent
c3ba8276d9
commit
f72e8213d7
2 changed files with 2 additions and 21 deletions
|
@ -1522,9 +1522,6 @@ later by using File>Close.
|
|||
self.onStartReview)
|
||||
self.connect(self.mainWin.newCardOrder,
|
||||
SIGNAL("activated(int)"), self.onNewCardOrderChanged)
|
||||
self.connect(self.mainWin.advancedOptions,
|
||||
SIGNAL("clicked()"),
|
||||
self.onAdvancedOptions)
|
||||
self.connect(self.mainWin.failedCardMax,
|
||||
SIGNAL("editingFinished()"),
|
||||
self.onFailedMaxChanged)
|
||||
|
@ -1553,10 +1550,6 @@ later by using File>Close.
|
|||
self.mainWin.failedCardMax.setText(str(self.deck.failedCardMax))
|
||||
self.deck.flushMod()
|
||||
|
||||
def onAdvancedOptions(self):
|
||||
self.onDeckProperties()
|
||||
self.deckProperties.dialog.qtabwidget.setCurrentIndex(2)
|
||||
|
||||
def onMinuteLimitChanged(self, qstr):
|
||||
try:
|
||||
val = float(self.mainWin.minuteLimit.text()) * 60
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>605</width>
|
||||
<height>565</height>
|
||||
<height>504</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
|
@ -1146,22 +1146,11 @@
|
|||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>15</height>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
<item row="0" column="0">
|
||||
<widget class="QPushButton" name="advancedOptions">
|
||||
<property name="text">
|
||||
<string>&Advanced</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_3">
|
||||
|
@ -3774,7 +3763,6 @@
|
|||
<tabstop>revCardOrder</tabstop>
|
||||
<tabstop>failedCardsOption</tabstop>
|
||||
<tabstop>revCategories</tabstop>
|
||||
<tabstop>advancedOptions</tabstop>
|
||||
<tabstop>minuteLimit</tabstop>
|
||||
<tabstop>questionLimit</tabstop>
|
||||
<tabstop>welcomeText</tabstop>
|
||||
|
|
Loading…
Reference in a new issue