From 11591030b43932140fc2e3d4cc922e58f8bb7c6d Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 6 Aug 2009 13:41:25 +0000 Subject: Made macros with prefilled values commitable. Fixed bug, where innerwidget of altcombobox didn't get its value set. --- client/widgets/widget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client/widgets/widget.h') diff --git a/client/widgets/widget.h b/client/widgets/widget.h index 2977e3a..bd84705 100644 --- a/client/widgets/widget.h +++ b/client/widgets/widget.h @@ -65,6 +65,7 @@ public: virtual bool setKeyboardFocus() { return false; } void setInitialValue(QString value); + bool hasInitialValue(); virtual void reset(); protected: @@ -85,6 +86,8 @@ private: QString initial_value; bool has_initial_value; + + QString prefilled; }; #endif/*__PRACRO_WIDGET_H__*/ -- cgit v1.2.3