projects
/
gc-dialer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea2307
)
Slight mod to button updating
author
Ed Page
<eopage@byu.net>
Sat, 8 Jan 2011 01:10:01 +0000
(19:10 -0600)
committer
Ed Page
<eopage@byu.net>
Sat, 8 Jan 2011 01:10:01 +0000
(19:10 -0600)
src/dialogs.py
patch
|
blob
|
history
diff --git
a/src/dialogs.py
b/src/dialogs.py
index
edcec03
..
e6c6fcc
100644
(file)
--- a/
src/dialogs.py
+++ b/
src/dialogs.py
@@
-466,7
+466,10
@@
class SMSEntryWindow(object):
self._smsButton.setEnabled(True)
else:
self._dialButton.setEnabled(False)
- self._smsButton.setEnabled(True)
+ if count == 0:
+ self._smsButton.setEnabled(False)
+ else:
+ self._smsButton.setEnabled(True)
def _update_recipients(self):
draftContactsCount = self._session.draft.get_num_contacts()