diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 25bc01f4e..4dc15dee5 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -309,14 +309,14 @@ An error occurred. Please copy the following message into a bug report.\n\n""" + ########################################################################## def showWelcomeScreen(self): - self.mainWin.mainStack.setCurrentIndex(0) + self.mainWin.mainStack.setCurrentIndex(1) self.hideButtons() def showEditScreen(self): - self.mainWin.mainStack.setCurrentIndex(1) + self.mainWin.mainStack.setCurrentIndex(2) def showReviewScreen(self): - self.mainWin.mainStack.setCurrentIndex(2) + self.mainWin.mainStack.setCurrentIndex(3) # Buttons ########################################################################## @@ -815,7 +815,7 @@ To upgrade an old deck, download Anki 0.9.8.7.""")) def showEditor(self): self.showSaveEditorButton() - self.mainWin.mainStack.setCurrentIndex(1) + self.showEditScreen() self.editor.setFact(self.currentCard.fact) def onFactValid(self, fact): diff --git a/designer/main.ui b/designer/main.ui index 400270320..ac4fafd85 100644 --- a/designer/main.ui +++ b/designer/main.ui @@ -23,14 +23,6 @@ :/icons/anki.png:/icons/anki.png - - - 0 - 69 - 655 - 398 - - 1 @@ -147,17 +139,10 @@ - 1 + 0 - - - - 0 - 0 - 378 - 342 - - + + @@ -171,15 +156,7 @@ - - - - 0 - 0 - 370 - 343 - - + 0 @@ -200,14 +177,6 @@ 0 - - - 0 - 0 - 370 - 49 - - @@ -232,14 +201,6 @@ - - - 0 - 0 - 378 - 50 - - 0 @@ -370,14 +331,6 @@ - - - 0 - 0 - 370 - 44 - - @@ -598,7 +551,7 @@ 0 0 655 - 23 + 25 @@ -731,28 +684,11 @@ - - - - 0 - 467 - 655 - 20 - - - + true - - - 0 - 23 - 655 - 46 - - Qt::Horizontal