Skip to content

Commit

Permalink
select first tab in new entry dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
snopf committed Feb 6, 2020
1 parent e5c3f64 commit 9e439c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/host/pc/qt/new_entry_dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</size>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
Expand Down
4 changes: 2 additions & 2 deletions src/host/pc/qt/ui_new_entry_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Form implementation generated from reading ui file 'new_entry_dialog.ui',
# licensing of 'new_entry_dialog.ui' applies.
#
# Created: Tue Jan 21 13:52:23 2020
# Created: Thu Feb 6 21:32:35 2020
# by: pyside2-uic running on PySide2 5.12.3
#
# WARNING! All changes made in this file will be lost!
Expand Down Expand Up @@ -67,7 +67,7 @@ def setupUi(self, NewEntryDialog):
self.gridLayout_3.addWidget(self.buttonBox, 1, 0, 1, 1)

self.retranslateUi(NewEntryDialog)
self.tabWidget.setCurrentIndex(1)
self.tabWidget.setCurrentIndex(0)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), NewEntryDialog.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), NewEntryDialog.reject)
QtCore.QMetaObject.connectSlotsByName(NewEntryDialog)
Expand Down

0 comments on commit 9e439c4

Please sign in to comment.