diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2026-01-05 18:12:45 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2026-01-05 18:12:45 +0100 |
| commit | 51ff522f6140a5ffc98e6350992e47207b706916 (patch) | |
| tree | 045412f01cd401353f39f23d3505321221558b41 /kteatime | |
| parent | 0c6f1df612314096c4466addec2e31ae2d3484bd (diff) | |
| download | tdetoys-master.tar.gz tdetoys-master.zip | |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kteatime')
| -rw-r--r-- | kteatime/toplevel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kteatime/toplevel.cpp b/kteatime/toplevel.cpp index 325fe13..6ded50e 100644 --- a/kteatime/toplevel.cpp +++ b/kteatime/toplevel.cpp @@ -581,9 +581,9 @@ void TopLevel::nameEditTextChanged(const TQString& newText) { /* this method also gets called when the last TeaListItem has been deleted * (to clear the name edit widget), so check for empty listbox */ if (listbox->currentItem() != NULL) { - listbox->blockSignals(TRUE); + listbox->blockSignals(true); static_cast<TeaListItem *>(listbox->currentItem())->setName(newText); - listbox->blockSignals(FALSE); + listbox->blockSignals(false); } } |
