projects
/
gc-dialer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
51fac4a
)
Improving some refresh behavior
author
Ed Page
<eopage@byu.net>
Thu, 31 Mar 2011 03:02:15 +0000
(22:02 -0500)
committer
Ed Page
<eopage@byu.net>
Thu, 31 Mar 2011 03:02:15 +0000
(22:02 -0500)
src/dialcentral_qt.py
patch
|
blob
|
history
diff --git
a/src/dialcentral_qt.py
b/src/dialcentral_qt.py
index
7b2d321
..
8523ad5
100755
(executable)
--- a/
src/dialcentral_qt.py
+++ b/
src/dialcentral_qt.py
@@
-521,7
+521,7
@@
class MainWindow(qwrappers.WindowWrapper):
if not self._tabsContents[index].has_child():
tab = self._TAB_CLASS[index](self._app, self._session, self._errorLog)
self._tabsContents[index].set_child(tab)
if not self._tabsContents[index].has_child():
tab = self._TAB_CLASS[index](self._app, self._session, self._errorLog)
self._tabsContents[index].set_child(tab)
- self._tabsContents[index].refresh(force=False)
+ self._tabsContents[index].refresh(force=False)
def _prompt_for_login(self):
if self._credentialsDialog is None:
def _prompt_for_login(self):
if self._credentialsDialog is None:
@@
-596,6
+596,7
@@
class MainWindow(qwrappers.WindowWrapper):
for tab in self._tabsContents:
tab.enable()
for tab in self._tabsContents:
tab.enable()
+ self._initialize_tab(self._currentTab)
@QtCore.pyqtSlot()
@misc_utils.log_exception(_moduleLogger)
@QtCore.pyqtSlot()
@misc_utils.log_exception(_moduleLogger)