Browse files

HOTFIX (and trivial) in Profile to show the user the profile selected…

… by default in the case he didn't select anyone
  • Loading branch information...
1 parent 2087360 commit e77a61b5a3c2ddd75951691e66719381af49b81d @diegosarmentero diegosarmentero committed Dec 2, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 ninja_ide/tools/ui_tools.py
View
1 ninja_ide/tools/ui_tools.py
@@ -292,6 +292,7 @@ def __init__(self, load_func, create_func, save_func,
vbox = QVBoxLayout(self)
self.profileList = QListWidget()
self.profileList.addItems([key for key in profiles])
+ self.profileList.setCurrentRow(0)
self.contentList = QListWidget()
self.btnDelete = QPushButton(self.tr("Delete Profile"))
self.btnDelete.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)

0 comments on commit e77a61b

Please sign in to comment.