diff options
author | kali <kali@leap.se> | 2012-11-22 06:26:02 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-11-22 06:28:24 +0900 |
commit | 60ae69dd79fc4a17e54e9f898b04c7130d8b9f6e (patch) | |
tree | 2f7f65e30d637fcb78d8780cf52f523cbc32eaa4 /src/leap/gui/progress.py | |
parent | f9a3e2cf6c4f7398411788974a2a6a9a53c9a1ab (diff) |
fix widgets focus on providerselect page
it works with enter, enter, enter :)
dedicated to DJ Focus...
Diffstat (limited to 'src/leap/gui/progress.py')
-rw-r--r-- | src/leap/gui/progress.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/gui/progress.py b/src/leap/gui/progress.py index 9a5b352c..331db6b2 100644 --- a/src/leap/gui/progress.py +++ b/src/leap/gui/progress.py @@ -145,6 +145,8 @@ class StepsTableWidget(QtGui.QTableWidget): # this disables the table grid. # we should add alignment to the ImgWidget (it's top-left now) self.setShowGrid(False) + self.setFocusPolicy(QtCore.Qt.NoFocus) + #self.setStyleSheet("QTableView{outline: 0;}") # XXX change image for done to rc @@ -254,7 +256,7 @@ class WithStepsMixIn(object): def resizeTable(self): # resize first column to ~80% table = self.stepsTableWidget - FIRST_COLUMN_PERCENT = 0.75 + FIRST_COLUMN_PERCENT = 0.70 width = table.width() logger.debug('populate table. width=%s' % width) table.horizontalHeader().resizeSection(0, width * FIRST_COLUMN_PERCENT) |