Bugfixes: Don't name new receipts "Test", set window title for add entry dialog
parent
140d061b76
commit
768ba4d42b
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required (VERSION 3.6)
|
||||
project (whyblocked
|
||||
VERSION 0.7.4
|
||||
VERSION 0.7.5
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
|
|
|
@ -193,7 +193,7 @@ const dialogdata DialogAdd::get_data()
|
|||
|
||||
void DialogAdd::add_receipt()
|
||||
{
|
||||
QListWidgetItem *item = new QListWidgetItem("Test");
|
||||
QListWidgetItem *item = new QListWidgetItem(tr("Insert receipt here."));
|
||||
item->setFlags(item->flags() | Qt::ItemIsEditable);
|
||||
list_receipts->insertItem(list_receipts->count(), item);
|
||||
list_receipts->editItem(item);
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
<string>Add entry</string>
|
||||
</property>
|
||||
<property name="locale">
|
||||
<locale language="English" country="UnitedKingdom"/>
|
||||
|
|
Loading…
Reference in New Issue