[POS-commit] r3304 - stoq/trunk/stoq/gui/pos
Evandro Vale Miquelito
evandro at async.com.br
Tue Apr 18 16:01:15 BRT 2006
Author: evandro
Date: Tue Apr 18 16:01:14 2006
New Revision: 3304
Modified:
stoq/trunk/stoq/gui/pos/pos.py
Log:
Fixing bugs when showing a warn box
Modified: stoq/trunk/stoq/gui/pos/pos.py
==============================================================================
--- stoq/trunk/stoq/gui/pos/pos.py (original)
+++ stoq/trunk/stoq/gui/pos/pos.py Tue Apr 18 16:01:14 2006
@@ -173,6 +173,7 @@
self.sellable_unit_label.set_size("small")
self.sellable_unit_label.set_bold(True)
self.warning_label.set_size("small")
+ self.warning_box.hide()
def _update_totals(self, *args):
self.summary_label.update_total()
@@ -327,8 +328,6 @@
self.price_slave.update()
self.warning_label.set_text(msg)
self.warning_box.show()
- else:
- self.warning_box.hide()
def _run_search_dialog(self, dialog_type, **kwargs):
# Save the current state of order before calling a search dialog
More information about the POS-commit
mailing list