Commit 328c7750 authored by Allan Anderson's avatar Allan Anderson
Browse files

BUG:311481 - Fix problem in Schedules where the name field may be empty but OK button is enabled.

Also, the amount field affects the OK button status.
Make minor change to investmentwizardpage.ui, to fix width where a label was getting clipped, and remove two trailing spaces.
parent 17f7dc15
......@@ -750,7 +750,7 @@ void StdTransactionEditor::createEditWidgets(void)
payee->setClickMessage(i18n("Payer/Receiver"));
payee->setObjectName(QLatin1String("Payee"));
m_editWidgets["payee"] = payee;
connect(payee, SIGNAL(textChanged(QString)), this, SLOT(slotUpdateButtonState()));
connect(payee, SIGNAL(createItem(QString,QString&)), this, SIGNAL(createPayee(QString,QString&)));
connect(payee, SIGNAL(objectCreation(bool)), this, SIGNAL(objectCreation(bool)));
connect(payee, SIGNAL(itemSelected(QString)), this, SLOT(slotUpdatePayee(QString)));
......@@ -823,7 +823,6 @@ void StdTransactionEditor::createEditWidgets(void)
value->setObjectName(QLatin1String("Amount"));
value->setResetButtonVisible(false);
connect(value, SIGNAL(valueChanged(QString)), this, SLOT(slotUpdateAmount(QString)));
connect(value, SIGNAL(textChanged(QString)), this, SLOT(slotUpdateButtonState()));
value = new kMyMoneyEdit;
m_editWidgets["payment"] = value;
......
......@@ -71,7 +71,7 @@
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayout" rowstretch="4,0,0,0,0,0" columnstretch="8,5,5,5,8,12,9">
<layout class="QGridLayout" name="gridLayout" rowstretch="4,0,0,0,0,0" columnstretch="22,10,10,11,16,11,18">
<item row="0" column="0">
<widget class="QLabel" name="labelInv_date">
<property name="minimumSize">
......@@ -187,10 +187,10 @@
</size>
</property>
<property name="accessibleName">
<string comment="noun, conversion factor to align pricing in the imported file with KMM's internal prices. "/>
<string comment="noun, conversion factor to align pricing in the imported file with KMM's internal prices."/>
</property>
<property name="text">
<string comment="noun, conversion fraction/multiplier to use to make compatible the csv pricing with KMM pricing.">Price Fraction </string>
<string comment="noun, conversion fraction/multiplier to use to make compatible the csv pricing with KMM pricing.">Price Fraction</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
......@@ -612,7 +612,7 @@ The names are retained and may be selected from the list here.&lt;/p&gt;</string
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string comment="column containing fee field">Fee Column </string>
<string comment="column containing fee field">Fee Column</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment